This is a Python3 Django project. The requirements are defined in requirements.txt. Use a virtualenv for it since this is the best practice.
Assuming /usr/local/bin/python3 is the path to your python3 binary and python is an alias to python3:
$ cd /path/to/this/project
$ mkvirtualenv --python=/usr/local/bin/python3 dpb
$ workon dpb
$ pip install -r requirements.txt
$ python manage.py runserver
The server is now accessible under http://localhost:8000
Currently, the database is checked in. Since this project is not in production mode, this is okay.
You can add another superuser to the database with:
$ python manage.py createsuperuser
Started too late to write it down...
Before installing PIL via pip, install the following lib:
$ sudo apt-get install libjpeg-dev
If PIL was already installed, reinstall it with:
$ pip install -I pillow
Some apps, like django-scheduler require Bower. Just install it with:
$ sudo npm install -g bower
Content type
Image
Digest
Size
205.5 MB
Last updated
over 6 years ago
docker pull cmeter/dpb