Installing on Ubuntu
- Clone the project
git clone https://github.com/ShelterAssociates/Shelter.git
-
Activate a python virtualenv.
Create the new virtual environment
mkvirtualenv
orworkon
command and activate the environment before starting with installation.You can skip this step if you don't want to create a virtual environment.
-
Install postgressql server
apt-get install postgresql-server-dev-9.3
- Install python:
pip install -r requirement.txt
- Migrate the database
python manage.py syncdb
python manage.py migrate
- Run the server
python manage.py runserver