Skip to content
This repository was archived by the owner on Feb 25, 2019. It is now read-only.

Development environment

Sven Osterwalder edited this page Jun 7, 2014 · 11 revisions

Development environment

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.

Requirements

Getting started

  1. Go into or clone the repository

  2. Switch to the vagrant branch

     git fetch
     git checkout vagrant
     git submodule update
    
  3. Bring vagrant up

     vagrant up
    

Important: At the moment nginx is getting started automatically only the first time your running vagrant up! From then on you will need to log into vagrant and start it manually. Sorry about that :)

Credentials

In the form of [username:password]

  • Machine ** vagrant:vagrant
  • MySQL ** root:123qwe ** developer:123qwe

Hint: If you need root access, just do

sudo su

Using the dev. environment

Connecting to vagrant (= the virtual machine)

  1. Go into the set up repo (vagrant branch, see Getting started)

  2. Connect

     vagrant ssh
    
  3. Do whatever you want

Re-setting the dev. environment

  1. Go into the set up repo (vagrant branch, see Getting started)

  2. Destroy the virtual machine with

     vagrant destroy
    
  3. Bring the virtual machine up again with

     vagrant up
    

Clone this wiki locally