Commit 14f28a95 authored by Nelso Jost's avatar Nelso Jost

NEW: integration with RTC

parent 3242dfc8
......@@ -38,14 +38,12 @@ help:
@ echo " "
@ echo " make help # show this message"
install:
apt-install:
sudo apt-get install nginx python3 python3-pip supervisor
sudo pip3 install virtualenv
sudo pip3 install --upgrade pip
setup: venv initdb
venv: clean-venv
setup:
@ echo "-------------------------------------------------------"
virtualenv -v --python='${PY}' ${VENV}
@ echo "Virtualenv with interpreter '${PY}' was created at ${VENV}/"
......
......@@ -504,7 +504,7 @@ def api_post_rawsensordata(board_id):
for nickname, value in d['sensors'].items():
sensor = board.get_sensor(nickname).add_rawdata(
datetime=d['datetime'], value=value)
datetime=d['datetime']['value'], value=value)
db.session.commit()
main.need_refresh = True
......
......@@ -4,7 +4,7 @@
server {
listen 80;
server_name dados.cta.if.ufrgs.br;
server_name dados.cta.if.ufrgs;
root {base_dir}/app/static;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment