Skip to content

Instantly share code, notes, and snippets.

@algas
Last active August 29, 2015 14:16
Show Gist options
  • Save algas/c870d12fee0e62623c6c to your computer and use it in GitHub Desktop.
Save algas/c870d12fee0e62623c6c to your computer and use it in GitHub Desktop.
Ubuntu 14.04 vagrant configuration

Usage

全面的に書き直した。

  1. git clone git@github.com:dokku-alt/dokku-alt.git
  2. cd dokku-alt
  3. vagrant up
  4. vagrant ssh default
  5. wget https://github.com/(yourname).keys
  6. cat (yourname).keys | while read f; do echo $f | dokku access:add; done
  7. exit
  8. git clone https://github.com/heroku/node-js-sample
  9. cd node-js-sample
  10. vagrant ssh-config
  11. echo "Host dokku-alt¥n HostName 127.0.0.1¥n Port 2222" >> $HOME/.ssh/config
  12. git remote add dokku dokku@dokku-alt:node
  13. git push dokku master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment