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 Kafkato/etc/hostsfile
-
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/Backendfolder:- Run
python setup.py install - Create
config.jsonby renamingconfig.json.templatelocated 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/Frontendfolder:- Run
sudo npm install -g @angular/cli - Run
sudo npm install - Run
serve.shand navigate tolocalhost:4200
- Run
Step-by-step instructions to use OEDA
Creating a Target System
- After logging in to the system, navigate to
Target Systemssection using the dashboard, and pressCreate Target Systembutton - 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
Experimentssection using the dashboard , and pressCreate Experimentbutton. - Select a target system from available ones.
- Provide a name for the experiment
- Add at least one
Changeable Variableto the experiment - Default parameters of
Execution Strategycan be changed - Default parameters of
Changeable Variablecan be changed (provide a positive integer or decimal forstep sizeparameter) - Press
Create Experimentbutton on top-right. - Upon successful creation of experiment, you will be redirected to
Experimentspage
Examining Charts of Experiments
- Navigate to
Experimentssection using the dashboard - Press
Resultsbutton 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.