forked from Tristramg/mumoro
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathINSTALL
69 lines (39 loc) · 1.2 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
Environnement de dev pour mumoro
================================
Paquets à installer (ubuntu)
----------------------------
aptitude install gcc libboost-dev libboost-serialization-dev python-dev swig
# Debian Lenny
# Configurer les backports
aptitude install gcc libboost1.40-dev libboost-serialization1.40-dev python-dev swig
Dépôt de source
---------------
Forker https://github.com/Tristramg/mumoro.git , puis faire un clone
en local.
git clone URL_DU_FORK
Puis entrer dans le dossier
cd mumoro
Données
-------
wget http://dl.demotera.com/rennes.osm.bz2
wget http://data.keolis-rennes.com/fileadmin/OpenDataFiles/GTFS/GTFS-20110118.zip
Compilation
-----------
python virtualenv.py env
source env/bin/activate
python setup.py install
Importer les données
--------------------
Utiliser la bdd préparée :
wget -qO- http://dl.demotera.com/mumoro_db.sqlite.bz2 | bunzip2 > db.sqlite
Ou la constituer (long)
python setup.py develop
python data_import scenarios/rennes.py
Préparer l'environnement
------------------------
TODO : vérifier et expliquer
./setup.py develop
Démarrer le serveur
-------------------
python setup.py develop
python server.py scenarios/rennes.py