Plataforma12D website https://plataforma12d.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Alfred 9561d44f65 Add cookies expiration 1 month ago
docker Update dockerfile 2 months ago
static Lasts adjustments 1 month ago
templates Add cookies expiration 1 month ago
.gitignore Little improvements 1 month ago
README.md Improve look&feel 2 months ago
config.yml Add min seconds and force cache 1 month ago
plataforma12d.py Lasts adjustments 1 month ago
requirements.txt Update requirements.txt 1 month ago

README.md

Plataforma 12D

This project is being developed in collaboration with entities that fight in favor of human rights and a positive change in politics that affect people migrating to Europe. This is a campaign for December 12th, 2020.

How to…

Install dependencies and execute this code

pip install -r requirements.txt
export FLASK_APP=plataforma12d.py
flask run

Compile the stylesheet

sass --watch static/styles/sass/main.scss:static/styles/stylesheet.css

Requirements

To properly launch this code you need a Google Sheet file with a concrete format. Specifically, it requires two worksheets: texts for content and results for storing the received data from the form. Also Google API credentials for accessing it. You will need to fill in the config file with them.