1
Fork 0
mirror of https://github.com/Steffo99/sophon.git synced 2024-12-22 06:44:21 +00:00
Research hub for universities
Find a file
2021-04-16 17:06:04 +02:00
.idea 🔨 Update IntelliJ metadata 2021-04-07 20:36:23 +02:00
sophon 📔 Document Project function 2021-04-16 17:06:04 +02:00
.gitignore Create .gitignore 2021-04-03 15:30:35 +02:00
manage.py 📦 First commit from IntelliJ template 2021-04-03 15:19:48 +02:00
poetry.lock ⬆ Add pandaSDMX and pydantic to the dependencies 2021-04-07 20:36:45 +02:00
pyproject.toml ⬆ Add pandaSDMX and pydantic to the dependencies 2021-04-07 20:36:45 +02:00
README.md 🔧 Configure Italian timezone in runConfiguration 2021-04-07 10:21:39 +02:00
sophon.iml 🔨 Update IntelliJ metadata 2021-04-07 20:36:23 +02:00

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 cookies
  • DJANGO_DEBUG: if set, enables Django debug mode
  • DJANGO_DATABASE_HOST: the hostname of the PostgreSQL database to use
  • DJANGO_DATABASE_NAME: the name of the PostgreSQL database to use
  • DJANGO_DATABASE_USER: the username of the PostgreSQL user to login as
  • DJANGO_DATABASE_PASSWORD: the password of the PostgreSQL user to login as
  • DJANGO_LANGUAGE_CODE: the language to use in the dynamic pages
  • DJANGO_TIME_ZONE: the timezone to use in the display of datetimes (Italy uses CET)
  • DJANGO_SETTINGS_MODULE: should always be sophon.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.