Skip to content
Snippets Groups Projects
Name Last commit Last update
united4earth
.gitignore
README.md
requirements.txt

Risefor - An open-source tool to help citizen communicate with their representatives

This is the code repository of Risefor, you can get information or contact the team on our website : https://risefor.org/

Choose your templates :

1. Risefor Main :

This package contains the full version of Risefor. On each instance, users will be able to create actions on specific subjects & connect them to representatives in order to invite citizen to contact them.

We are currently working on a full revamp in order to improve the Look & Feel as well as the performances

2. Risefor Light:

Risefor light allows you to deploy a landing page on a specific law easily

  • Examples of Risefor light:

- International campaign : https://cop26.rebellion.global/

- Campaign accompanying a physical action : http://bop.extinctionrebellion.fr/

- Campaign targeting a specific law : https://stop-covid.risefor.org/

Installing the tool :

git clone https://git.startinblox.com/applications/risefor-front
cd <repository>
git checkout risefor_main/master OR git checkout risefor_light/master
python3 -m venv env # optional venv
. env/bin/activate  # optional venv
pip3 install -r requirements.txt
cd united4earth
sib install united4earth
python3 manage.py runserver

By default the app will run localy on http://127.0.0.1:8000/

Common customizations :

  • Changing the logo :
  1. Upload your logo in the file /united4earth/static/img/Logos
  2. Edit the header.html file here
  • Changing the colors :
  1. Open the file "variables.scss"
  2. Edit the "main", "secondary", "third", "alert" and "extra" colors here
  3. Compile scss using sass static/scss/index.scss static/css/united4earth.css
  • Changing the fonts :
  1. Open the file "variables.scss"
  2. Change the fonts here
  3. If these are custom or new fonts, declare them here
  • How to update the css : We use a css framework called "sass". If you want to make changes to the css, the should :
  1. Edit scss files available in /static/scss
  2. Compile scss with the following command sass static/scss/index.scss static/css/united4earth.css to see the changes (you can add --watch if you are doing multiple changes)

For more information on sass visit their website

For more help

  1. We are working on a FAQ available here: https://risefor.org/installer-risefor
  2. You can always contact the team by opening an issue or by sending us an email