README.md 547 Bytes
Newer Older
Julien Palard's avatar
Julien Palard committed
1
2
# How to contribute

Antoine Angot's avatar
Antoine Angot committed
3
4
5

## Requirements

6
This project requires Python 3.6 at least.
Antoine Angot's avatar
Antoine Angot committed
7

8
9

## Install
Antoine Angot's avatar
Antoine Angot committed
10

Julien Palard's avatar
Julien Palard committed
11
12
13
14
```
pip install -r requirements.txt
./manage.py migrate
./manage.py createsuperuser
Jérôme's avatar
Jérôme committed
15
./manage.py runserver
Julien Palard's avatar
Julien Palard committed
16
17
```

Jérôme's avatar
Jérôme committed
18
19
Install and run a redis server.

Julien Palard's avatar
Julien Palard committed
20
21
22
23
You'll maybe need a moulinette running too, currently in the
for_django branch of the moulinette, install firejail, and start it using:

    ./server.py http://127.0.0.1:8000/api/ --verbose --auth staff_login:staff_password
Julien Palard's avatar
Julien Palard committed
24
25
26
27
28


# TODO

- In the exercise page, links to documentation should open in a new tab.