Skip to content

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.md into 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 setup
  • dev.sh: Start dev environment
  • test.sh: Run tests
  • backup_db.sh: Backup database
  • restore_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.