Flynn

General workflow

  • Start a flynn cluster (on amazon or vagrant)

  • flynn cluster add to add that cluster

  • flynn create NAME in your app

  • git push flynn master to deploy

Creating a cluster (AWS)

flynn install  # (provisions AWS EC2 stuff)
flynn key add  # (adds your pubkey to AWS)

What it does

  • This creates XXXX.flynnhub.com

  • Dashboard in dashboard.XXXX.flynnhub.com

  • Use flynn -a dashboard env get LOGIN_TOKEN to get login token

  • Apps live in APP.XXXX.flynnhub.com

Using a flynn cluster

Managed in ~/.flynnrc: {: .-setup}

flynn cluster
flynn cluster add [-g githost] [-p pin] NAME URL KEY
flynn cluster remove NAME
flynn cluster default NAME # use this current

Setting up a new app

Commands

Environment vars

Scale

Logs

Running commands

Manage routes

More

Also see

Last updated

Was this helpful?