Scripts Directory README
All automation scripts referenced in the documentation should be placed in /infra/scripts.
How to Use
- Copy code blocks from
scripts-and-automation.mdinto new files in this directory. - Make scripts executable:
chmod +x scriptname.sh - Update this README as you add more scripts.
Example Scripts
setup.sh: Project setupdev.sh: Start dev environmenttest.sh: Run testsbackup_db.sh: Backup databaserestore_db.sh: Restore database
Usage Examples
setup.sh
Run ./setup.sh to set up the project.
dev.sh
Run ./dev.sh to start the dev environment.
test.sh
Run ./test.sh to run tests.
backup_db.sh
Run ./backup_db.sh to backup the database.
restore_db.sh
Run ./restore_db.sh to restore the database from a backup.