-
Notifications
You must be signed in to change notification settings - Fork 136
Getting Started
Rei edited this page Jul 14, 2014
·
4 revisions
~ $ git clone [email protected]:chloerei/campo.git
~ $ cd campo
Tl;dr: Run ./script/setup_dev.sh to setup all denpendency, and develop like normal Rails app.
Recommend use vagrant(Virtuan Machine) to setup development environment, if you want to setup in host machine, skip this section.
Goto http://www.vagrantup.com/downloads.html , download and install vagrant.
Goto https://www.virtualbox.org/wiki/Downloads , Download and install VirtualBox.
~/campo $ vagrant up
Wait for vagrant up finished, then login to virtual machine:
~/campo $ vagrant ssh
Cd to proejct directory:
~ $ cd /vagrant
/vagrant $ ls
app bin ...
/vagrant $ ./script/setup_dev.sh
This script will install all dependency.
/vagrant $ rails s
Then open http://192.168.33.10:3000 (or http://localhost:3000 if you install in host), you will see campo is running.