Create beach bar development environment

Set up a subdomain and database on your server, and set up your local dev environment.

  1. Set up subdomain
    • Do this first so it has time to propagate and get an ssl cert.
  2. Create the local site in lando.
    • Configure new mysql service
    • Set up proxy
    • Rebuild lando
  3. Configure site directory
    • Edit sites/sites.php
    • Add sites/beachbar directory
  4. Install local beachbar site
    • mantratheme profile
    • Move salt and database credentials to settings.local.php
  5. Configure settings.php
    • Allowed hosts
    • Config dir
    • Uncomment settings.local.php include.
  6. Create drush aliases
    • drush/sites/mantra.site.yml
    • drush/sites/lando.site.yml
  7. Commit and push changes to dev environment
    • .lando.yml
    • sites/sites.php
    • drush/sites
    • sites/beachbar/settings.php
    • config/beachbar
  8. Set up dev database
    • Use database wizard to create a database and user.
    • Make sure to save the password.
  9. Install dev site
    • Or push db.
Topics