README.md 997 Bytes
Newer Older
Florent Chehab's avatar
Florent Chehab committed
1
2
3
4
[![build](/../badges/master/build.svg)](https://gitlab.utc.fr/chehabfl/outgoing_rex/pipelines) 
[![coverage](/../badges/master/coverage.svg)](https://chehabfl.gitlab.utc.fr/outgoing_rex/) 
[![License](https://img.shields.io/badge/License-BSD%202--Clause-green.svg)](https://opensource.org/licenses/BSD-2-Clause)
[![Heroku](https://heroku-badge.herokuapp.com/?app=outgoing-preprod&style=flat&svg=1)](http://outgoing-preprod.herokuapp.com/)
Florent Chehab's avatar
Florent Chehab committed
5

Florent Chehab's avatar
Florent Chehab committed
6
7
8
9
10
11
# Site blabla

# Installation
```
git clone
pip ...
12
13
14
15
16
17
18
19
20
21
22
23
24
./manage.py migrate
```

Chargement des données des pays :

Avec pip requierements installer
```
./manage.py shell
```

puis à l'intérieur de ce shell
```
%run ./rex/utils/insert_country.py
Florent Chehab's avatar
Florent Chehab committed
25
26
27
28
```
To populate universities, also run in `./manage.py shell`:
```
%run ./rex/utils/insert_universities.py
Florent Chehab's avatar
Florent Chehab committed
29
30
```

31
32
33
34
35
36
Follow this tutorial : https://devcenter.heroku.com/articles/heroku-postgresql#local-setup

in postgre
ALTER USER username CREATEDB;
GREATE DATABASE florent;
GRANT ALL on DATABASE florent to florent;