Deploy Listyyy to EC2 (copy compose file, pull Docker image, restart services). Use when the user asks to deploy, push to production, update EC2, re-deploy a specific version, or sync the database to EC2.
Run from the project root:
./scripts/deploy.sh [options]
| Option | Effect |
|---|---|
| (none) | Deploy the version in the VERSION file |
--version VERSION | Deploy a specific version (e.g. --version 0.3.0) |
--db | Also SCP the DB dump to EC2 and import it |
--version <version>.--db..env must have EC2_PEM and EC2_HOST (already configured).release.config must have LISTYYY_IMAGE (already configured).block_until_ms: 0 and monitor terminal output.