Skip to content

Chiara180/EU-CS_platform

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EU-CS_platform

EU-CS_platform is a web platform for Citizen Science. It is built with Python using the Django Web Framework.

Installation

First of all, install Python v3

Once you have python in your SO, download or clone this repository and launch next commands.

python -m pip install --upgrade pip
pip install -U django

Configure a Database. IE a PostgreSQL DB and configure database section in \src\eucs_platform\settings\base.py with the correct data.

In source directory:
pip install -r requirements.txt

cd src
cp eucs_platform/settings/local.sample.reference.env eucs_platform/settings/local.env
And edit this last file with database and email configuration
python manage.py migrate
python manage.py loaddata projects/fixtures/topics.json
python manage.py loaddata projects/fixtures/status.json
python manage.py loaddata projects/fixtures/participationtasks.json
python manage.py loaddata projects/fixtures/geographicextend.json
python manage.py loaddata resources/fixtures/categories.json
python manage.py loaddata resources/fixtures/themes.json
python manage.py loaddata resources/fixtures/audiences.json
python manage.py loaddata organisations/fixtures/organisation_types.json

Launch

python manage.py runserver

Cron jobs commands

python manage.py runcrons
python manage.py runcrons --force
And to do this automatically:
python manage.py crontab add

About

EU Citizen Science web platform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 37.2%
  • JavaScript 27.2%
  • HTML 19.5%
  • Python 14.3%
  • SCSS 1.8%