Viotis a project aimed at practicing the development of an IoT application.
- Python 3.11
- FastAPI
- Celery
- Pytest
- Testcontainers
- EMQX MQTT
- TimescaleDB
- Redis
- Github Actions
-
Clone the repository
-
Add the following records to your
/etc/hostsfile:127.0.0.1 api.viot.local 127.0.0.1 flower 127.0.0.1 mailpit 127.0.0.1 emqx -
Go to the project directory and run the following command to start the application:
docker compose up -d -
Run the following command to migrate the database:
chmod +x ./scripts/migrate.sh ./scripts/migrate.sh -
The application should now be running and accessible at:
- API:
http://api.viot.local/docs(Swagger UI) - Celery Flower:
http://flower/(Account login:admin/admin) - Mailpit:
http://mailpit/(Account login:admin/admin) - EMQX:
http://emqx/(Account login:admin/admin)
See DEVELOPMENT.md for details.
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
