mdiannna / PyActorsPublisherSubscriber2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Actors Based System for Weather Prediction

This project was done for the Real Time Applications Programming Lab at the University of Moldova, Software Engineering program.

Screenshots and demo

Screenshot 1 Screenshot 2 Screenshot 3 Screenshot 4 Video demo here: https://github.com/mdiannna/ActorsPy/blob/24_03_20/screenshots_video/demo4.mp4

Setup project:

  1. If running on Ubuntu without docker, install redis package (Ubuntu:) $ apt-get install redis-server

    If not, skip

  2. Use docker compose: $ docker-compose up

  3. If you would like to see only the actors system + printing in console, then change in config.py the parameter "SEND_WEB": "NO_SEND", then go to http://0.0.0.0:5000/receive-sse-sensor-data

  4. If you want to see the web interface frontend:

Troubleshooting

If you have problems, try:

$docker-compose down

$docker rm -f $(docker ps -aq)

$docker rmi -f $(docker images -a -q)

$sudo service redis-server stop

$docker-compose up

Also check your config.py if it is configured to work woth docker or local

Running locally

$docker run -p 4000:4000 alexburlacu/rtp-server:lab2 $ sudo service redis-server start

Author

Marusic Diana, FAF-171

About


Languages

Language:CSS 78.4%Language:JavaScript 8.6%Language:Python 6.8%Language:HTML 6.2%Language:Dockerfile 0.1%