Skip to content
/ a4-opin Public

OPIN.me is a youth e-participation platform developed by Liquid Democracy within the H2020 project EUth.

License

Notifications You must be signed in to change notification settings

liqd/a4-opin

Folders and files

NameName
Last commit message
Last commit date
Oct 30, 2024
Jul 26, 2021
Mar 2, 2022
Feb 22, 2023
Mar 2, 2023
Oct 30, 2024
Oct 30, 2024
Oct 30, 2024
Feb 27, 2023
Oct 30, 2024
Mar 2, 2022
Oct 22, 2024
Feb 23, 2018
Oct 20, 2020
Jul 16, 2019
Mar 3, 2022
Jul 16, 2019
Jan 16, 2024
Mar 14, 2022
Apr 21, 2017
Mar 2, 2023
Jul 15, 2016
Oct 30, 2024
Jan 11, 2016
Dec 9, 2024
Jun 18, 2019
Feb 22, 2023
Mar 22, 2017
Jun 17, 2016
Feb 8, 2016
Oct 22, 2024
Sep 1, 2021
Sep 1, 2021

Repository files navigation

CMS for EUTH Project

Build Status Coverage Status

WARNING

Since commit da29d7fabdeaa1594d5fdd0fe24eceab143e004d this project is being refactored towards a wagtail only project to be used as an informational website, all participation parts are being removed.

DO NOT UPGRADE to the main branch or any version beyond v2401 or otherwise you will lose data.

Requires

  • nodejs (+ npm)
  • python 3.x (+ virtualenv + pip)
  • libmagic
  • libjpeg
  • libpq (only if postgres should be used)
  • sqlite3 with JSON1 enabled

Setup and development

Use the provided Makefile to start development. It comes with a help command make help . The initials steps to get the software running should be:

git clone https://github.com/liqd/a4-opin.git  # clone repository
cd a4-opin # change to cloned repo
make install
make fixtures
make watch

django-allauth setup

Visit the Django Admin and follow these steps:

  1. Add a Site for your domain, matching settings.SITE_ID.
  2. For each OAuth based provider, add a Social application (part of the Social accounts app).
  3. Fill in the site and the OAuth app credentials obtained from the provider.

See django-allauth providers documentation for more information on how to configure every provider.

There are no OAuth based providers activated for development. You have to add them manually to INSTALLED_APPS to use them locally.

GitHub example:

INSTALLED_APPS = [
    # Other apps
    'allauth.socialaccount.providers.github',
]