README.md 1.19 KB
Newer Older
1
# Risefor.org
2 3
Risefor.org is an open-source tool designed to allow citizens to exchange, organise and act.
Using Risefor.org, citizens can gather around a common topic of interest and advocate for an agreed upon position to the rest of society.
4

5 6
## Installation

7
    git clone https://git.happy-dev.fr/startinblox/applications/risefor-mobilisation.git
8 9 10
    python3 -m venv env # optional venv
    . env/bin/activate  # optional venv
    pip3 install -r requirements.txt
11
    cd risefor-mobilisation
12
    cp settings_sample.py settings.py
13
    cd ..
14
    python3 manage.py migrate
15
    python3 manage.py createsuperuser
Alexandre's avatar
Alexandre committed
16
    touch risefor-mobilisation/templates/data_manager/google-analytics.html
17 18
    touch risefor-mobilisation/templates/data_manager/google-tag-manager-head.html
    touch risefor-mobilisation/templates/data_manager/google-tag-manager-body.html
19

Alexandre's avatar
Alexandre committed
20 21
## Update CSS
    npm install -g sass
22
    sass --watch risefor-mobilisation/static/scss/index.scss risefor-mobilisation/static/css/risefor-mobilisation.css
Alexandre's avatar
Alexandre committed
23
    sass --watch risefor-mobilisation/static/scss/risefor-map.scss risefor-mobilisation/static/css/risefor-map.css
Alexandre's avatar
Alexandre committed
24 25 26 27

## Launch server
    source env/bin/activate # optional venv
    python3 manage.py runserver