Update README for installation steps
thejimbirch opened this issue · comments
For best practices, this:
- Moves custom module and theme to the correct folders.
- Installs Drupal.
- Creates User 2 and 3 with admin and editor roles.
- Blocks User 1.
- Applies recipes.
# Copy custom modules to the correct place.
cp -R web/themes/contrib/saplings_child web/themes/custom/
cp -R web/modules/contrib/saplings_custom web/modules/custom/
# Install Drupal.
fin drush site-install minimal -y --site-name="Saplings" --account-name=admin --account-mail=fakeemail@example.com --site-mail=fakemail@example.com
# Create a new user and block user 1.
fin drush user-create exampleadmin --mail=fakeemail2@example.com
fin drush user-block admin -y
# Apply recipes.
fin recipe-apply saplings
fin recipe-apply saplings-events
# Add role to user 2.
fin drush user-add-role administrator exampleadmin
# Create a Content editor, User 3.
fin drush user-create exampleeditor --mail=fakemail3@example.com
fin drush user-add-role content_editor exampleeditor
# Clear cache.
fin drush cr