.env.sample
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
S3_BUCKET
Credentials for uploading packages to S3, these can be blank if you're not publishing locally.
S3_ACCESS_KEY
secret
S3_SECRET_KEY
secret
S3_REGION
Not needed if the S3 bucket is in US standard
GH_CLIENT_ID
Credentials for talking to github, can be blank if you're not logging in. When registering a new application, be sure to set the callback…
GH_CLIENT_SECRET
secret
SESSION_KEY
secret
Key to sign and encrypt cookies with
DATABASE_URL
secret
Location of the *postgres* database (eg. postgres://postgres:@localhost/cargo_registry)
GIT_REPO_URL
Remote and local locations of the registry index
GIT_REPO_CHECKOUT
brew install flyctl && fly launch --from https://github.com/carols10cents/crates.io
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/carols10cents/crates.io
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/carols10cents/crates.io