README
This is the vagrant configuration that we'll use for the backend development.
Getting Started
-
Install the latest version of VirtualBox from here
-
Install the latest version of vagrant from here
-
Add the
ubuntu/trusty64
box to your local machine.
#!shell
vagrant box add ubuntu/trusty64
- Clone this repository to a location of your choice. For me its
#!shell
~/vagrant/pucho
- Move into the directory
#!shell
cd ~/vagrant/pucho
- Run this command:
#!shell
vagrant up
- Wait for magic to happen.
- After seeing awesomeness, login to the VM using SSH:
#!shell
vagrant ssh
Directory structure
The web_server/vagrant
directory in the host machine is synced with the /vagrant
directory in the guest machine.
The web_server/home/vagrant
directory in the host machine is synced with the /home/vagrant/synced
directory in the guest machine. All our code goes in here. Work in the web_server/home/vagrant
directory from the host machine.
Setting up the IDE
Eclipse
- Download the latest eclipse. Preferably from here so that all of us have the same eclipse development environment.
- SSH into the vagrant VM
#!shell
user@User-PC:~$ vagrant ssh
Packages Installed
- OpenJDK 7 JDK
- Ruby Version Manager (RVM)
- Ruby 1.9.3 (for librarian-puppet gem)
- Git
- Vim
- MySQL 5.6
- MongoDB
- Redis
To be installed
- Beanstalkd
- Play Framework