Requirements:
- Anaconda / Python 3.6
- This guide assumes Windows 64bit
-
Create virtual environment:
python -m venv venv
-
Activate virtual environment
venv\Scripts\activate
-
Install requirements
pip install -r requirements.txt
Environment variables:
QUEUE_PREFIX=ecn_dev_
MONGODB_URI=mongodb://localhost/ecn
AMQP_HOST=localhost
AMQP_VHOST=/
AMQP_USER=guest
AMQP_PASSWORD=guest
-
Install Anaconda with Python 3.6. This guide assumes Windows 64bit.
-
Create virtual environment
python -m venv venv
-
Activate the virtual environment
venv\Scripts\activate
-
Install dependencies
pip install -r requirements.txt
-
Edit
setenv.cmd
and ensure configuration (get from Dropbox admin) -
Run
setenv.cmd
-
Run
python stationd.py
E:
cd \ecn
call setenv
venv\Scripts\python stationd.py
The protobuf file must be in sync with the file used by GeoAssistant Android client.
Compile protobuf to Python library:
E:\protobuf\bin\protoc -I=. --python_out=ecn/ ecn_mobile.proto