-
clone your project
-
download VirtualBox 4.3.12 and associated extension pack from https://www.virtualbox.org/wiki/Download_Old_Builds_4_3
-
download Vagrant 1.6.5 from http://www.vagrantup.com/downloads.html
-
install Virtual Box
-
install associated extension pack
-
install vagrant
-
install vagrant plugins (in terminal)
$ vagrant plugin install vagrant-vbguest $ vagrant plugin install vagrant-cachier
-
cd into project directory
-
had to update ruby
$ rvm install ruby-2.1.4
-
updated RVM
$ rvm get stable
-
add upstream remote to local project
$ git add remote upstream [email protected]:assemblymade/coderwall.git
-
copy vagrant.yml.example to vagrant.yml
-
within the project directory
-
this takes a while... more than an hour?
$ ./run.sh
-
once you see something like:
$ 18:04:25 web.1 | [3546] * Listening on tcp://0.0.0.0:3000 $ 18:04:25 web.1 | [3546] Use Ctrl-C to stop
-
open another terminal tab
$ vagrant ssh $ pwd $ hostname $ ls -al
-
now we can run the app??... but app is already running in first tab! in the same terminal tab, still ssh'ed into vagrant (run first command just above):
$ cd ~/web $ rvm current => ruby-2.1.4@coderwall for me $ bundle check => The Gemfile's dependencies are satisfied $ rails s => #bunch of stuff# => Address already in use - bind(2) for 0.0.0.0:3000 (Errno::EADDRINUSE)