Grassroots Economic Organizing (GEO) Collective's main website. As a Drutopia project we hope others can learn from and emulate, this project is public. https://geo.coop
Find a file
2019-07-23 12:10:15 -05:00
.ddev Initial Commit 2019-07-17 14:47:01 -05:00
config/sync Add term reference fields in the articles and blog content types 2019-07-22 18:12:07 -05:00
patches Remove the drutopia default content 2019-07-18 15:40:57 -05:00
web Migrate the taxonomy terms in the blog and articles content types 2019-07-22 18:12:44 -05:00
.gitignore Initial Commit 2019-07-17 14:47:01 -05:00
composer.json Merge branch 'master' of gitlab.com:agaric/sites/geo 2019-07-19 11:16:14 -05:00
composer.lock Commit composer lock file 2019-07-18 23:59:54 -04:00
ddev_drush_settings.php I think this is safe to commit across environments 2019-07-18 23:27:24 -04:00
README.md Add instructions to run the migration in the readme file. 2019-07-23 12:10:15 -05:00

GEO.coop README

This project is based on Drutopia, which means it is compatible with existing and future Drutopia features. We will be diverging from Drutopia for special functionality, however.

Getting started

One time:

git clone git@gitlab.com:agaric/sites/geo.git
cd geo

Install DDEV for the following steps to work.

Whenever you want a fresh start:

git pull
ddev start
ddev composer update
ddev . drush -y site:install minimal --existing-config

Running the migration.

Put the D7 files in th following location:

<Project Root>/d7/sites/default/files/

There is a reference to the sites/default/files in the database so that structure is mandatory for the migration. The path in the upgrade_d7_file.yml migration file is different because this is executed inside the docker container so in the docker container the is: /var/www/html/ but no need to re-create those folders in the host machine.

Create a database called drupal7 with the content of the old site, check here how to create the database

Once the files are in the correct place and the database has been created we can run the following to run all the migrations:

ddev exec drush mim --group="migrate_drupal_7_geo"