GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Ibercivis/EU-CS_platform: EU Citizen Science web platform

BranchesTags
Open more actions menu

Latest commit

 

History

2,291 Commits
2,291 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
docs
docs
 
 
logs
logs
 
 
requirements
requirements
 
 
src
src
 
 
.gitignore
.gitignore
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
Contributing.md
Contributing.md
 
 
LICENSE
LICENSE
 
 
PULL_REQUEST_TEMPLATE.md
PULL_REQUEST_TEMPLATE.md
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
requirements.txt
requirements.txt
 
 

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.

Requirements

sudo apt install python3-venv python3-pip libpq-dev libffi-dev postgresql postgresql-12.22-postgis-3.0 libjpeg-dev zlib1g-dev gettext
python3 -m venv venv
source venv/bin/activate

Configure postgres

$ su - postgres
$ psql
postgres=# create database eucitizenscience;
postgres=# create user eucitizenscience with password 'XXXXXXXXXXXXXX';
postgres=# grant all on database eucitizenscience to eucitizenscience;
postgres=# \c eucitizenscience
postgres=# create extension postgis;

Installation

First of all, check whether you've up to Requirements. Second, clone the project with:

git clone https://github.com/Ibercivis/EU-CS_platform ~/EU-CS_platform
cd EU-CS_platform
pip install -r requirements.txt
cd src
cp eucs_platform/settings/local.sample.reference.env eucs_platform/settings/local.env

And edit src/eucs_platform/settings/local.env with database and email and other configuration variables

python manage.py migrate

Now, create superuser

python3 manage.py createsuperuser
python manage.py loaddata ./organisations/fixtures/organisation_types.json
python manage.py loaddata ./projects/fixtures/participationtasks.json
python manage.py loaddata ./projects/fixtures/status.json
python manage.py loaddata ./projects/fixtures/topics.json
python manage.py loaddata ./projects/fixtures/difficultylevel.json
python manage.py loaddata ./projects/fixtures/hastag.json
python manage.py loaddata ./projects/fixtures/geographicextend.json
python manage.py loaddata ./resources/fixtures/audiences.json
python manage.py loaddata ./resources/fixtures/themes.json
python manage.py loaddata ./resources/fixtures/categories.json

Launch

python manage.py runserver

Cron jobs commands

Manually:

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

Readme
EUPL-1.2 license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

47 stars

Watchers

12 watching

Forks

17 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.