Skip to content
climu edited this page May 31, 2017 · 21 revisions

How to set up local deployment:

Tested on Ubuntu 14.04 with python 3.4 and Archlinux

Be sure you have git installed. If not, run sudo apt-get install git-core

create a working directory: mkdir osr

go inside: cd osr/

create a virtual environment: virtualenv -p python3 venv

activate it: source venv/bin/activate

clone the git repo: git clone https://github.com/climu/openstudyroom.git

go to project folder: cd openstudyroom/

change branch to dev: git checkout dev

install depedency: pip install -r requirements.txt

run migrations and migrate:

./manage.py makemigrations

./manage.py migrate

Load initial datas: ./manage.py loaddata fixtures/initial_data.json

run the server: ./manage.py runserver

You can connect with user admin and pass admin

Clone this wiki locally