Skip to content

Instantly share code, notes, and snippets.

View maclover7's full-sized avatar

Jon Moss maclover7

View GitHub Profile
stop flynn-host && start flynn-host
git push flynn master
$ git clone https://github.com/flynn-examples/ruby-flynn-example.git
$ cd ruby-flynn-example
@maclover7
maclover7 / 6.md
Last active October 4, 2015 15:43
L=/usr/local/bin/flynn && curl -sSL -A "`uname -sp`" https://dl.flynn.io/cli | zcat >$L && chmod +x $L
flynn cluster add -p REktHVsDrKFed7ACeKJCt9xF3TrMd96d1+N3Nr5BArY= default site.104.131.189.57.xip.io fdf9cdda89785ef655e7e787daec8be2
sudo \
    CLUSTER_DOMAIN=demo.localflynn.com \
    flynn-host bootstrap \
    --discovery https://discovery.flynn.io/clusters/53e8402e-030f-4861-95ba-d5b5a91b5902
@maclover7
maclover7 / 3.md
Last active October 4, 2015 15:42
$ sudo start flynn-host
$ sudo status flynn-host
# --> This command should include `flynn-host start/running`. If it says `stop/waiting` instead, check out the logs at `/var/log/upstart/flynn-host.log` for more information.

sudo flynn-host init --init-discovery

@maclover7
maclover7 / 1.md
Last active October 4, 2015 15:40
$ L=/usr/local/bin/flynn && curl -sSL -A "`uname -sp`" https://dl.flynn.io/cli | zcat >$L && chmod +x $L

$ sudo bash < <(curl -fsSL https://dl.flynn.io/install-flynn)

$ /sbin/modprobe zfs