Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 681 Bytes

File metadata and controls

17 lines (11 loc) · 681 Bytes

Bella-Middleware

Contains the middleware code for Bella that includes user, device, and room management, as well as analytics.

Prerequisites

  1. Ensure that the following python3 packages are installed, as this project runs on python3:
  • django
  • matplotlib
  • bcrypt
  1. You need to setup mysql as defined in bella_middleware/settings.py. If you are using different credentials, ensure they are reflected in settings.py.

  2. Once MySQL is set up, execute python3 manage.py makemigrations <<appname>> for every app within the server.

  3. Then execute python3 manage.py migrate.

  4. To run the server, simply execute python3 manage.py runserver or ./runserver.