ποΈFly.io
Explore FormSG running on Fly.io platform through a live demo and learn about platform adaptation patterns.
Last updated
Was this helpful?
Was this helpful?
# 1. Clone the template
git clone https://github.com/opengovsg/formsg-on-fly.git
cd formsg-on-fly
# 2. Install dependencies
# Install "just" command runner (macOS)
brew install just
# Or install "just" (other platforms)
# See: https://github.com/casey/just#installation
# 3. Set up the environment
just setup
# 4. Start development server
just start# Create Fly.io app
fly apps create your-formsg-app
# Set secrets
fly secrets set DB_HOST="mongodb+srv://..."
fly secrets set SES_USER="smtp-username"
...# Deploy your configured app
fly deploy
# Check deployment status
fly status
# View application logs
fly logs