.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
MYSQL_ROOT_PASSWORD
secret
MySQL environment variables for Docker Compose
MYSQL_DATABASE
MYSQL_USER
MYSQL_PASSWORD
secret
SNIPPETBOX_DB_DSN
MySQL DSN Ex: user:password@tcp(localhost:3306)/snippetbox?parseTime=true
SNIPPETBOX_DB_DSN_MIGRATE
MySQL DSN for 'migrate' cli Ex: mysql://user:password@tcp(localhost:3306)/snippetbox?parseTime=true
brew install flyctl && fly launch --from https://github.com/ashvwinn/snippetbox
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/ashvwinn/snippetbox
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/ashvwinn/snippetbox