-
Notifications
You must be signed in to change notification settings - Fork 1
SettingUpDevEnvironment
If you want to get started on working on MarkUs quickly and painlessly, this is the way to do it.
- Install Vagrant and VirtualBox
- Download this Vagrantfile
- cd to the directory containing the Vagrantfile
- vagrant up
This will download a fairly large (3GB) Debian box from the internet, so go take a walk or something. This box has GNOME, postgres, subversion, and all of MarkUs's other dependencies installed. When the download is complete, VirtualBox will run the box in headless mode.
Now you can connect to the box by doing vagrant ssh. Do rvm use 1.9.3 and then rvm gemset use markus to use the correct gemsets. There is also a configured 'database.yml' in the Home directory. Move that to the project's config dir so rails knows how to connect to the database. Now you can clone the MarkUs repo from gh and start working on it. When you start the rails server in the VM you can connect to it on your host computer by going to http://0.0.0.0:42069.