Webmaker/Code/Dev/Environment: Difference between revisions

 
Line 117: Line 117:
== Option 3: Installing Webmaker with Vagrant ==
== Option 3: Installing Webmaker with Vagrant ==


'''NOTE:''' This is a work in progress, and may have bugs.  See https://github.com/mozilla/webmaker-suite for more info on using webmaker-suite itself.
'''NOTE:''' This is a work in progress, and may have bugs.  See https://github.com/mozilla/webmaker-suite for more info on using webmaker-suite itself. '''You will need a 64bit OS for vagrant to run.
'''


* Download and install vagrant first ( http://www.vagrantup.com/downloads.html )
# Download and install [https://www.virtualbox.org/wiki/Downloads Virtualbox] and [http://www.vagrantup.com/downloads.html Vagrant].
* Download the Vagrantfile from [https://github.com/mozilla/webmaker-suite/blob/aws-vagrant/vagrant/localdev/Vagrantfile github] into a folder where you want to run your webmaker-suite VM from (ie, <code>/Users/myuser/vagrant/webmaker-suite</code>).
# Download the Vagrantfile from [https://github.com/mozilla/webmaker-suite/blob/aws-vagrant/vagrant/localdev/Vagrantfile github] into a folder where you want to run your webmaker-suite VM from (ie, <code>/Users/myuser/vagrant/webmaker-suite</code>).
* Open a terminal, cd into that folder, and issue the command <code>vagrant up</code>. This will download the current version box (this is an Ubuntu 1.7gb image and may take a while).
# Open a terminal, cd into that folder, and issue the command <code>vagrant up</code>. This will download the current version box (an Ubuntu-12.04-x86_64 1.7gb image) and may take a while.
* Once complete building, issue the command <code>vagrant ssh</code> to ssh in your new vagrant box.
# Once the building is complete, issue the command <code>vagrant ssh</code> to ssh in your new vagrant box.
* Now in vagrant, issue the command <code>./webmaker-suite.sh</code>. This will start mongo, elasticsearch, webmaker, popcorn, thimble, makeapi, goggles, etc.
# Now in vagrant, issue the command <code>./webmaker-suite.sh</code>. This will start mongo, elasticsearch, webmaker, popcorn, thimble, makeapi, goggles, etc.


After it completes, point your web browser to:
After it completes, point your web browser to:
Confirmed users
8

edits