Skip to content

go-away-learning/ama

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started

This project uses devbox to manage its development environment.

Install devbox:

curl -fsSL https://get.jetpack.io/devbox | bash

Start the devbox shell:

devbox shell

Run a script in the devbox environment:

devbox run <script>

Scripts

Scripts are custom commands that can be run using this project's environment. This project has the following scripts:

Environment

GOENV="off"

Shell Init Hook

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/null

Packages

Script Details

devbox run generate_code_from_sql

sqlc generate --file database/sqlc.yaml

devbox run migrations

dotenv -- atlas schema apply --config "file://database/atlas.hcl" --env local

devbox run start_db

docker-compose -p ama -f database/docker-compose.yaml --env-file .env up -d

devbox run stop_db

docker-compose -p ama -f database/docker-compose.yaml --env-file .env down

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors