No description
Find a file
2021-01-24 18:25:19 +01:00
app Publish first version 2021-01-24 13:58:29 +01:00
migrations Publish first version 2021-01-24 13:58:29 +01:00
.gitignore Publish first version 2021-01-24 13:58:29 +01:00
apache2_sample_config.conf Publish first version 2021-01-24 13:58:29 +01:00
config.py Publish first version 2021-01-24 13:58:29 +01:00
LICENSE Initial commit 2021-01-24 13:29:39 +01:00
powermeter.wsgi don't need to insert that path 2021-01-24 17:47:58 +01:00
README.md updated readme 2021-01-24 18:25:19 +01:00
requirements.txt Publish first version 2021-01-24 13:58:29 +01:00

powermeter

Simple Flask based application to receive impulses via cURL from a power meter.

Clone this repository and create a virtualenv within it:

git clone https://github.com/Finn10111/powermeter.git
cd powermeter
virtualenv -p /usr/bin/python3 .
# or if python3 is your default:
virtualenv .
pip install -r requirements.txt

For developing run this (you need to create database and user first):

export FLASK_ENV=development
export APP_DEVELOPMENT_DATABASE_URI=postgres://username:passwort@hostname/database
flask run