-
Install Python requirements:
pip install -r requirements.txt
-
Navigate to the
src
folder and runget.py
:cd src python get.py
-
Open CupCarbon project:
- Navigate to
src/cupcarbon/smartcitysimulation.cup
- Open the project in CupCarbon
- Press "Run Simulation" in CupCarbon to start the simulation
Note: Start the simulation after running
get.py
- Navigate to
- To activate all sensor services, run:
python run_sensors.py
- After starting the simulation, run
post.py
:python post.py
Note:
OneM2M
should be running onlocalhost
along withMongoDB
.
ps: You can use
docker compose up
to run theOneM2M
along withMongDB
.