Correct indentation in README

This commit is contained in:
Chris Thompson 2019-07-30 15:40:32 -04:00
parent 647afd00e8
commit c93d010a27

View file

@ -66,18 +66,18 @@ ddev . drush mim --group="migrate_drupal_7_geo"
1. Ensure the files you need are uploaded to the server. Obtain the latest from the prior site: database, and files. Upload these to the server (e.g. `scp *.gz geo_live@drutopia.org:`) and we'll extract them there.
1. If a deployment has been performed already, it must be moved out of the way by removing existing databases. Log into the server (`ssh geo_live@drutopia.org`) and remove the database(s):
- Start the mysql client (logged into geo_live): `mysql`
- Drop the drupal db: `drop database geo_live;`
- Drop the migration source db: `drop database geo_legacy;`
- Exit mysql by typing `ctrl+d`
- Start the mysql client (logged into geo_live): `mysql`
- Drop the drupal db: `drop database geo_live;`
- Drop the migration source db: `drop database geo_legacy;`
- Exit mysql by typing `ctrl+d`
1. Extract the uploaded files (still on server):
- Unzip the uploaded database file (this expects there to be only ONE such file): `gunzip *.mysql.gz`
- Rename the database file: `mv *.mysql geo_legacy.sql`
- Read the db source into the proper database: `mysql geo_legacy < geo_legacy.sql`
- Unpack the files, but first cd to where they go (again, there should only be ONE file ending in .tar.gz in home): `cd site/d7/sites/default/files/` and untar: `tar xzf ~/*.tar.gz` (this will take a minute/two).
- The server side is ready! Log off by typing `ctrl+d`
- Unzip the uploaded database file (this expects there to be only ONE such file): `gunzip *.mysql.gz`
- Rename the database file: `mv *.mysql geo_legacy.sql`
- Read the db source into the proper database: `mysql geo_legacy < geo_legacy.sql`
- Unpack the files, but first cd to where they go (again, there should only be ONE file ending in .tar.gz in home): `cd site/d7/sites/default/files/` and untar: `tar xzf ~/*.tar.gz` (this will take a minute/two).
- The server side is ready! Log off by typing `ctrl+d`
1. Now perform a deployment with drutopia_hosting. This will install the site using the minimal profile and existing config:
- `ahoy deploy-build news`
- `ahoy deploy-site geo_live`
- `ahoy deploy-build news`
- `ahoy deploy-site geo_live`
1. Return to the server (`ssh geo_live@drutopia.org`) and run the migration:
- `drush mim --group="migrate_drupal_7_geo"`
- `drush mim --group="migrate_drupal_7_geo"`