mirror of
https://github.com/Steffo99/sophon.git
synced 2024-12-22 14:54:22 +00:00
1 KiB
1 KiB
sophon
Django project for dataset collection
Installation
The installation method depends on either #1 or #2.
For now, there is no way to install sophon
.
Configuration
The following environment variables should be set:
DJANGO_SECRET_KEY
: secret string used in the generation of session cookiesDJANGO_DEBUG
: if set, enables Django debug modeDJANGO_DATABASE_HOST
: the hostname of the PostgreSQL database to useDJANGO_DATABASE_NAME
: the name of the PostgreSQL database to useDJANGO_DATABASE_USER
: the username of the PostgreSQL user to login asDJANGO_DATABASE_PASSWORD
: the password of the PostgreSQL user to login asDJANGO_LANGUAGE_CODE
: the language to use in the dynamic pagesDJANGO_TIME_ZONE
: the timezone to use in the display of datetimesDJANGO_SETTINGS_MODULE
: should always besophon.settings
Development
To run the project in development mode, run:
./manage.py runserver 127.0.0.1:30033
Deployment
This project is not currently ready for production usage.