public-health-ch/readme.md

31 lines
456 B
Markdown
Raw Normal View History

Public Health Schweiz
=====================
2016-12-12 22:43:20 +00:00
Website of the Swiss Society for Public Health
## Development environment
Backend setup
```
2016-12-19 10:32:58 +00:00
sudo apt-get install python3-venv python3-dev libjpeg-dev
pyvenv env
. env/bin/activate
pip install -U pip
pip install -r requirements.txt
./manage.py migrate
./manage.py createsuperuser
./manage.py runserver
2016-12-12 22:43:20 +00:00
```
2016-12-12 22:44:06 +00:00
Frontend setup
```
2016-12-19 10:32:58 +00:00
npm install -g bower grunt-cli
2016-12-12 22:44:06 +00:00
npm install
bower install
grunt browser-sync
```