πŸ•ŠοΈFly.io

Explore FormSG running on Fly.io platform through a live demo and learn about platform adaptation patterns.

Quick Start Prerequisites

Before exploring FormSG on Fly.io:

FormSG Demo Architecture

This demo shows how FormSG can be adapted for the Fly.io platform:

Fly.io Implementation

FormSG components in this demo setup:

  • Application: Single container running on Fly.io infrastructure

  • Database: External MongoDB instance

  • Object Storage: External storage service

  • Email Service: External SMTP provider

  • Monitoring: Basic Fly.io platform monitoring

🌟 Live FormSG Demo

Try it now: form.demos.sg - A working FormSG instance you can explore immediately

What the Demo Demonstrates

The FormSG Fly.io demo showcases:

  • Platform deployment - FormSG running on Fly.io infrastructure

  • Overlay architecture - How to customize FormSG for different contexts

  • Platform adaptation - FormSG adapted for container deployment

  • Development workflow - Clean development and deployment patterns

  • Live example - Working system you can test and explore

Getting Started

Repository: opengovsg/formsg-on-fly

# 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

Local testing: Application runs at http://localhost:5000

Fly.io Template Documentation

For detailed configuration and advanced features:

Exploring the Demo

Try the live demo first: Visit form.demos.sg to explore FormSG features

If deploying your own instance:

  1. Check deployment: fly status shows healthy instances

  2. Test functionality:

Issues? Check fly logs for application logs.

Last updated

Was this helpful?