- Git clone/pull this repo
- If deploying locally, have DDEV-Local running a Drupal 9 project
- Git clone/pull the repo for the database backup files
- Place the preferred *.sql backup file in ccdhwebportal/database/export
cd ccdhwebportal
./tools/deploy.sh [BRANCH] [ENV]
# replace BRANCH with ( develop | master )
# replace ENV with (ddevlocal|sandbox|dev|qa|stage|production)
- Visit the site in your web browser
cd ccdhwebportal
./tools/dump.sh
- A new database dump file will be created and any config file changes will be exported.
- Copy the latest database *.sql from ccdhwebportal/database/export into CCDH Webportal Database Backups and commit the new file. Sql files do not get commmitted to this repo.
- Commit the updated config files to this repo.