.env.sample
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
DATABASE_URL
secret
This is the URL that SQLx will use to make connections to the Postgres database. If you set up the Postgres server as instructed in…
HMAC_KEY
secret
This is the HMAC key that will be used to sign login tokens (JWTs). It just needs to be a random string, preferably at least 48 characters…
RUST_LOG
Configures which modules `env_logger` should emit logs for. This variable is read by `env_logger`, not the application itself, so it won't…
brew install flyctl && fly launch --from https://github.com/adriangb/realworld-axum-sqlx
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/adriangb/realworld-axum-sqlx
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/adriangb/realworld-axum-sqlx