This repository was archived by the owner on Feb 25, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Development environment
Sven Osterwalder edited this page Jun 7, 2014
·
11 revisions
The dev. environment is currently available in the vagrant branch and is built using a mixture of vagrant and chef on the outside and nginx and mysql on the inside.
In the form of [username:password]
- Machine
- vagrant:vagrant
- MySQL
- root:123qwe
- developer:123qwe
Hint: If you need root access, just do
sudo su
-
Go into or clone the repository
-
Switch to the vagrant branch
git fetch git checkout vagrant git submodule update -
Bring vagrant up
vagrant up
-
Log into vagrant
vagrant ssh -
Install the needed gems
cd /vagrant/data bundle install --without production rake db:migrate RAILS_ENV=development
-
Go into the set up repo (vagrant branch, see Getting started)
-
Connect
vagrant ssh -
Do whatever you want
-
Go into the set up repo (vagrant branch, see Getting started)
-
Destroy the virtual machine with
vagrant destroy -
Bring the virtual machine up again with
vagrant up -
Follow Setup the application
-
Go into the set up repo (vagrant branch, see Getting started)
-
Stop the virtual machine with
vagrant halt