- Add 'django_photobooth_widget' to INSTALLED_APPS.
- Make sure
'APP_DIRS': True
, enabled in TEMPLATES. STATIC_ROOT
needs to be ser to collect stati files with:$ python collectstatic
Use django_photobooth_widget.PHOTOBOOTH_DB_SAVE_AS_BINARY to choose between binary and text (mime/base64) data. Defaults to binary.
- Create the virtualenv:
$ virtualenv -p python3 venv
$ source venv/bin/activate
- Install the requirements:
$ pip install -r requirements.txt
- Update the database:
$ python manage.py migrate
- To be able to use the, it needs to be in a HTTPS connection.
Run the test server as this:
$ python manage.py runserver_plus 9000 --cert-file cert.crt