Skip to content

Instantly share code, notes, and snippets.

@fuyi
Created October 25, 2015 21:49
Show Gist options
  • Select an option

  • Save fuyi/a15ed1889b73b3eaecec to your computer and use it in GitHub Desktop.

Select an option

Save fuyi/a15ed1889b73b3eaecec to your computer and use it in GitHub Desktop.
Sparta dev environment in vagrant

This is a guide about how to use vagrant to set up Sparta halo development enviroment

Introduction

This process automates the setup of a development environment for working on Sparta halo.

Requirements

How To Build The Virtual Machine

Building the virtual machine is this easy:

host $ cd [halo project folder]
host $ vagrant up
host $ vagrant ssh

guest $ cd /vagrant
guest $ bundle install
guest $ rake db:setup
guest $ rake heroku:db:sync:local -- optional
guest $ rails server -b 0.0.0.0    

How you can access the app from localhost:3000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment