Contains the middleware code for Bella that includes user, device, and room management, as well as analytics.
- Ensure that the following python3 packages are installed, as this project runs on python3:
- django
- matplotlib
- bcrypt
-
You need to setup mysql as defined in
bella_middleware/settings.py. If you are using different credentials, ensure they are reflected insettings.py. -
Once MySQL is set up, execute
python3 manage.py makemigrations <<appname>>for every app within the server. -
Then execute
python3 manage.py migrate. -
To run the server, simply execute
python3 manage.py runserveror./runserver.