GitDeployHub

miguelgrinberg/microblog-api

github.com/miguelgrinberg/microblog-api ↗
Python
7 environment variables found in .env.example

Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.

  • DISABLE_AUTH Set to any non-empty value to disable token authentication.
  • MAIL_SERVER An email server to use when sending emails. For SendGrid, use "smtp.sendgrid.net". For Gmail use "smtp.googlemail.com".
  • MAIL_PORT The port in which the email server listens for clients. For SendGrid or Gmail, use 587.
  • MAIL_USE_TLS Set to any non-empty string to send emails via TLS. Required for both SendGrid and Gmail.
  • MAIL_USERNAME The username for the email sender's account, if required by the server. For SendGrid, use "apikey". For Gmail, use your Google username.
  • MAIL_PASSWORD secret The password for the email sender's account, if required by the server. For SendGrid, use your API Key. For Gmail, use your Google password…
  • MAIL_DEFAULT_SENDER The sender that appears in all emails sent by the application.
Best match Fly.io Anything Dockerized — requires the Fly CLI.
macOS
brew install flyctl && fly launch --from https://github.com/miguelgrinberg/microblog-api
Linux
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/miguelgrinberg/microblog-api
Windows (PowerShell)
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/miguelgrinberg/microblog-api
Or deploy to a different host
← Try another repo