_ _ _
__ _ __ _ ___| |__ ___ | |__ _ _| |__
/ _` |/ _` / __| '_ \ / _ \ | '_ \| | | | '_ \
| (_| | (_| \__ \ | | | __/ | | | | |_| | |_) |
\__,_|\__,_|___/_| |_|\___| |_| |_|\__,_|_.__/
Copy the sample settings file and adjust the settings according to your needs:
$ cp hub/settings/local.py.example hub/settings/local.py
Install the requirements and create a blank database, migrate all the tables:
$ pip install -r requirements.txt
$ pip install -e .
Proceed with the actual project setup:
$ cd hub
$ manage.py migrate
Load the supplied organizations:
$ psql hub < iss_organization.sql
Create a superuser to get access to the admin:
$ manage.py createsuperuser
You have to install Node/npm, on a Mac:
$ brew install node
Install the Javascript dependencies (such as sass):
$ cd hub/
$ npm install
Make changes to the SCSS files in hub/static/scss
and before commit compile
them to CSS:
$ npm run makecss