GitDeployHub

adriangb/realworld-axum-sqlx

github.com/adriangb/realworld-axum-sqlx ↗
Rust
3 environment variables found in .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…
Best match Fly.io Anything Dockerized — requires the Fly CLI.
macOS
brew install flyctl && fly launch --from https://github.com/adriangb/realworld-axum-sqlx
Linux
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/adriangb/realworld-axum-sqlx
Windows (PowerShell)
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/adriangb/realworld-axum-sqlx
← Try another repo