This gon be gud!
This server has the following tasks:
- To receive data from our Raspberry Pi
- To store that data in our database
- To implement logic checking whether that data is within legal levels based on config data from the database
- To initialize sending of an SMS to interested users if data is not within legal levels
Installation guide
git clone https://github.com/finnss/ttm4115-server.git
- Navigate to the cloned directory
pip install --upgrade virtualenv
(assuming you have pip)virtualenv -p python3 venv
source venv/bin/activate
pip install django
pip install paho
pip install slackclient
python manage.py migrate
python manage.py runserver
- Should be running at
localhost:8000
!