Skip to content

Instantly share code, notes, and snippets.

@johndagostino
Created September 25, 2014 01:14
Show Gist options
  • Save johndagostino/5f50cda331c31518cb7c to your computer and use it in GitHub Desktop.
Save johndagostino/5f50cda331c31518cb7c to your computer and use it in GitHub Desktop.
Using the flynn cli

Install the flynn cli

L=/usr/local/bin/flynn && curl -sL -A "`uname -sp`" https://cli.flynn.io/flynn.gz | zcat >$L && chmod +x $L

Add the flynn cluster (with details you should recieve from your flynn administrator)

flynn cluster add -g flynn.companyname.io:2222 -p cNemhn3qBtmhIz8QVxzBaMQSNChEb3KAyrdrC2uliS4= default https://flynn.companyname.io 41d6df8e0028f1f8b939c84792770b1e

Create a new instance

flynn create myticket-123

Push the branch to flynn

git push flynn feature/myticket-123

Confirm it works

open http://myticket-123.companyname.io/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment