Skip to content

Battery Management System serial output consumer (Django version)

Notifications You must be signed in to change notification settings

nathandcornell/bms-django

Repository files navigation

BMS

Parsing and display service for a battery module system

screen shot 2018-10-21 at 5 36 00 pm

screen shot 2018-10-21 at 5 40 21 pm

screen shot 2018-10-21 at 5 40 33 pm

Getting started

  1. Clone this repo
  2. Install Python 3, PostgreSQL and pipenv
  3. Run pipenv install to install dependencies
  4. Create a PostgreSQL database, user, and password for the application
  5. Copy .env.example to .env and enter the database details
  6. Run pipenv run python manage.py migrate to set up the database
  7. Run npm install && ./node_modules/.bin/webpack --config webpack.config.js to install and compile JavaScript assets

Start the log parser service

Run start_parser.sh

Start the web server

Run start_server.sh

Digging deeper

Start the django console by running pipenv run python manage.py shell

About

Battery Management System serial output consumer (Django version)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published