Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README for installation steps #23

Open
thejimbirch opened this issue Apr 8, 2024 · 0 comments
Open

Update README for installation steps #23

thejimbirch opened this issue Apr 8, 2024 · 0 comments

Comments

@thejimbirch
Copy link
Contributor

For best practices, this:

  1. Moves custom module and theme to the correct folders.
  2. Installs Drupal.
  3. Creates User 2 and 3 with admin and editor roles.
  4. Blocks User 1.
  5. 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 [email protected] [email protected]

# Create a new user and block user 1.
fin drush user-create exampleadmin [email protected]
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 [email protected]
fin drush user-add-role content_editor exampleeditor

# Clear cache.
fin drush cr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant