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
6
7
8
9

## Requirements

This project requires python 3.5 at least.

## Install 

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

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

Julien Palard's avatar
Julien Palard committed
19
20
21
22
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
23
24
25
26
27


# TODO

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