Require Python3.x, Django2.0
-
Install python3
-
Install and make virtualenv
$ pip install virtualenvwrapper
$ source /usr/local/bin/virtualenvwrapper.sh
$ mkvirtualenv -p python3 ENV_NAME
$ workon ENV_NAME -
Clone this repo
-
Install dependence
$ cd decade
$ pip install -r requirements.txt -
Change database setting to your dev env
$ cp decade/settings/dev.example decade/settings/dev.py
$ emacs decade/settings/dev.py
# change DATABASES section -
create database (only fresh installation)
$ python manage.py makemigrations
-
Launch
$ python manage.py migrate
$ python manage.py runserver 0.0.0.0:8000