Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 866 Bytes

dev.rst

File metadata and controls

39 lines (24 loc) · 866 Bytes

Development Notes

Below are some notes on how to get your development environment setup and how to get ready to contribute code.

Setting up your development environment

Install requirements:

Clone the repo:

$ git clone https://github.com/hamster-dev/hamster-core

Startup and provision the development VM:

$ cd hamster-core
$ vagrant up

Assuming that went well, you can now login to the VM:

$ vagrant ssh

Initial setup of the virtualenv and site:

$ mkvirtualenv hamster
$ cd /vagrant
$ pip install -Ur hamster/requirements.pip
$ python manage.py syncdb --migrate

... and start up the site:

$ python manage.py runserver 0.0.0.0:8000

You should see it running at http://localhost:9000