.env.template
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
API_PORT
WEB_DEMO_PORT
EMBED_SCRIPT_PORT
POSTGRES_HOST
POSTGRES_PORT
POSTGRES_DB_NAME
POSTGRES_USERNAME
POSTGRES_PASSWORD
secret
POSTGRES_SSLMODE
CA_CERT
DOMAIN
SSL_EMAIL
brew install flyctl && fly launch --from https://github.com/ebookfoundation/oapen-suggestion-service
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/ebookfoundation/oapen-suggestion-service
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/ebookfoundation/oapen-suggestion-service