Skip to content

Instantly share code, notes, and snippets.

@baseboxorg
Forked from johndagostino/flynn-cli.md
Last active August 29, 2015 14:06
Show Gist options
  • Save baseboxorg/913f02e4716924e28f44 to your computer and use it in GitHub Desktop.
Save baseboxorg/913f02e4716924e28f44 to your computer and use it in GitHub Desktop.

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