Last active
August 29, 2015 14:25
-
-
Save viphak/73cdbe5696aa19e0a104 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # references # | |
| # http://blog.xebia.com/2014/06/18/deploying-a-node-js-app-to-docker-on-coreos-using-deis/ | |
| # http://deis.io/get-deis/ | |
| # http://docs.deis.io/en/latest/installing_deis/install-deisctl/#install-deisctl | |
| # http://docs.deis.io/en/latest/installing_deis/install-platform/#install-deis-platform | |
| ## https://www.vagrantup.com/ | |
| ## https://www.virtualbox.org/ | |
| # http://docs.deis.io/en/latest/using_deis/install-client/ | |
| cd | |
| git clone https://github.com/deis/deis.git | |
| cd deis | |
| make discovery-url | |
| vagrant plugin install vagrant-triggers | |
| vagrant up | |
| mkdir -p ~/bin | |
| cd ~/bin | |
| curl -sSL http://deis.io/deisctl/install.sh | sh -s 1.5.1 | |
| curl -sSL http://deis.io/deis-cli/install.sh | sh | |
| sudo ln -fs $PWD/deisctl /usr/local/bin/deisctl | |
| sudo ln -fs $PWD/deis /usr/local/bin/deis | |
| eval `ssh-agent -s` | |
| export DEISCTL_TUNNEL=172.17.8.100 # you may want to put this in your .bashrc file | |
| ssh-add ~/.vagrant.d/insecure_private_key | |
| deisctl list | |
| deisctl config platform set sshPrivateKey=~/.vagrant.d/insecure_private_key | |
| deisctl config platform set domain=local3.deisapp.com | |
| deisctl install platform | |
| deisctl start platform | |
| deis register http://deis.local3.deisapp.com | |
| # now register your user | |
| deis keys:add | |
| # deis login http://deis.local3.deisapp.com | |
| # deis logout | |
| # vagrant suspend | |
| # http://docs.deis.io/en/latest/using_deis/#using-deis |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment