OEDA Getting Started Guide - Starofall/OEDA GitHub Wiki
Setting up and running locally in Linux Environment
Tested with Python 2.7.12 & Linux 4.10.0-37-generic x86_64
-
Get CrowdNav & install required dependencies
- Resource to install setuptools
- Resource to install SUMO for Linux
- Run Zookeeper & Kafka
- Create a host entry by adding
127.0.0.1 Kafka
to/etc/hosts
file
-
Run CrowdNav and start simulation
-
Get ElasticSearch 5.6.3 and follow these instructions according to ElasticSearch 5.6.3. Installation can be verified to send a GET request to
http://localhost:9200/
-
Get OEDA
-
In
OEDA/Backend
folder:- Run
python setup.py install
- Create
config.json
by renamingconfig.json.template
located in/oeda/databases
- Run
npm install -g nodemon
- Run
sudo apt-get install python-tk
- Run
sudo pip install scikit-optimize
- Run
nodemon server.py
- Run
-
In
OEDA/Frontend
folder:- Run
sudo npm install -g @angular/cli
- Run
sudo npm install
- Run
serve.sh
and navigate tolocalhost:4200
- Run
Step-by-step instructions to use OEDA
Creating a Target System
- After logging in to the system, navigate to
Target Systems
section using the dashboard, and pressCreate Target System
button - You can customly define your target system, or select among available definitions from the pop-up. Make sure to fill-in the required fields.
Creating an Experiment
- Navigate to
Experiments
section using the dashboard , and pressCreate Experiment
button. - Select a target system from available ones.
- Provide a name for the experiment
- Add at least one
Changeable Variable
to the experiment - Default parameters of
Execution Strategy
can be changed - Default parameters of
Changeable Variable
can be changed (provide a positive integer or decimal forstep size
parameter) - Press
Create Experiment
button on top-right. - Upon successful creation of experiment, you will be redirected to
Experiments
page
Examining Charts of Experiments
- Navigate to
Experiments
section using the dashboard - Press
Results
button to examine a newly-created or successfully-completed experiment. - Different stages of the experiment and different scales for the data points can be selected independently, and new charts will be drawn upon these selections.