Skip to content

Commit ada5332

Browse files
authored
Merge pull request #8 from CPFL/hotfix/fix_setup
fix setup and index.html
2 parents 2f9a95b + fba55c1 commit ada5332

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

examples/sim_taxi/config/env.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
import os
55
from dotenv import load_dotenv
66

7-
load_dotenv(os.path.abspath(os.path.dirname(__file__))+'/.env')
7+
load_dotenv(os.path.abspath(os.path.dirname(__file__))+'/sample.env')
88

99
env = dict(os.environ)

examples/sim_taxi/templates/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false"></script>
2121
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/socket.io/1.3.5/socket.io.min.js"></script>
2222
<script type="text/javascript" src="./static/js/map2d.js"></script>
23-
<script type="text/javascript" src="./static/js/lib/geohashjs/geohash.js"></script>
23+
<script type="text/javascript" src="./static/js/geohashjs/geohash.js"></script>
2424
</head>
2525
<body onLoad="onLoad()">
2626
<div id="map"></div>

setup.py

+6-3
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,12 @@
2828
"python-dotenv==0.7.1",
2929
"transforms3d==0.3.1",
3030
"numpy==1.13.3",
31-
"flask==0.12.2",
32-
"flask-cors==3.0.3",
33-
"geohash==1.0",
31+
"Flask==0.12.2",
32+
"Flask-Cors==3.0.3",
33+
"Flask-SocketIO==2.9.2",
34+
"Flask-MQTT==0.0.8",
35+
"python-geohash==0.8.5",
36+
"eventlet==0.21.0",
3437
],
3538
test_suite="tests"
3639
)

0 commit comments

Comments
 (0)