This project uses devbox to manage its development environment.
Install devbox:
curl -fsSL https://get.jetpack.io/devbox | bashStart the devbox shell:
devbox shellRun a script in the devbox environment:
devbox run <script>Scripts are custom commands that can be run using this project's environment. This project has the following scripts:
GOENV="off"The Shell Init Hook is a script that runs whenever the devbox environment is instantiated. It runs
on devbox shell and on devbox run.
cp -n .env.example .env 2>/dev/nullsqlc generate --file database/sqlc.yaml
dotenv -- atlas schema apply --config "file://database/atlas.hcl" --env local
docker-compose -p ama -f database/docker-compose.yaml --env-file .env up -d
docker-compose -p ama -f database/docker-compose.yaml --env-file .env down