🏠 Homepage
Mqtt-ia-concept it's an project thats concepts an architecture idea of devices sendind data with mqtt to rabbitmq and create linear regression events that provides predictions to this devices
Change .env-example to .env to all services run properly
docker-compose up -d
sudo su
setup.sh
Also you need do grant all privileges to your unix user
sudo chown -R $user .
python predictor/manage.py migrate
python predictor/manage.py createsuperuser --email example@example.com.br --username admin
python predictor/manage.py runserver
After this go to http://localhost:8000/devices and create two devices
python mqtt/publisher.py
python mqtt/consumer.py
- rabbitmq: http://127.0.0.1:15672 (user: rabbitmq | password: rabbitmq)
- postgres: 127.0.0.1:5432 (user: root | password: postgres)
👤 Jefferson Amorim
- Github: @jeffersonamoriim
Copyright © 2021 Jefferson Amorim.