Move stuff around

This commit is contained in:
Lucas Verney 2017-02-27 22:34:15 +01:00
부모 fda74508a7
커밋 8b39bda099
No known key found for this signature in database
GPG 키 ID: 75B45CF41F334690
96개의 변경된 파일14개의 추가작업 그리고 23개의 파일을 삭제

파일 보기

@ -1 +0,0 @@
#!/bin/sh

파일 보기

@ -1,20 +0,0 @@
#!/bin/sh
echo "Starting the webserver…"
screen -dmS visu && screen -S visu -p 0 -X stuff "while true; do python3 visu.py; done$(printf \\r)"
echo "Starting receive script…"
screen -dmS receive && screen -S receive -p 0 -X stuff "while true; do ./receive; done$(printf \\r)"
echo "Done !\n"
sleep 0.2
echo "Starting processing script…"
screen -dmS process && screen -S process -p 0 -X stuff "while true; do python3 process.py; done$(printf \\r)"
echo "Done !\n"
while ! curl -s --head http://localhost:8080 2>&1 > /dev/null; do
echo "Webserver is starting…"
sleep 1
done
echo "Webserver started !\n"
echo "Ready to start !"

파일 보기

@ -1 +0,0 @@
#!/bin/bash

파일 보기

@ -4,3 +4,16 @@ CitizenWatt-refactor
This is an updated version of [CitizenWatt](http://citizenwatt.paris/) code,
aiming to be a backup of available stuff, with minor updates for anyone
willing to build its own.
CitizenWatt aimed at building a personal DIY energy consumption meter,
inspired by [OpenEnergyMonitor](https://openenergymonitor.org/).
I recently came across cloned CitizenWatt repositories and wanted to make some
lifting of the code, while I set it back in place at home. I also found out
that OpenEnergyMonitor was considerably nicer than it used to be, especially
from a UX point of view. This aims at being an up to date merge of
OpenEnergyMonitor and CitizenWatt, to be the best combination possible at the
moment, in my opinion.
This is part of a home automation process, hence the will to avoid installing
pre-compiled images which are not easily extensible.

파일 보기

Before

Width:  |  Height:  |  크기: 4.7 KiB

After

Width:  |  Height:  |  크기: 4.7 KiB

파일 보기

Before

Width:  |  Height:  |  크기: 3.0 KiB

After

Width:  |  Height:  |  크기: 3.0 KiB

파일 보기

Before

Width:  |  Height:  |  크기: 3.8 KiB

After

Width:  |  Height:  |  크기: 3.8 KiB

파일 보기

Before

Width:  |  Height:  |  크기: 3.2 KiB

After

Width:  |  Height:  |  크기: 3.2 KiB

파일 보기

Before

Width:  |  Height:  |  크기: 3.6 KiB

After

Width:  |  Height:  |  크기: 3.6 KiB

파일 보기

Before

Width:  |  Height:  |  크기: 2.7 KiB

After

Width:  |  Height:  |  크기: 2.7 KiB

파일 보기

Before

Width:  |  Height:  |  크기: 4.7 KiB

After

Width:  |  Height:  |  크기: 4.7 KiB

파일 보기

Before

Width:  |  Height:  |  크기: 5.9 KiB

After

Width:  |  Height:  |  크기: 5.9 KiB

파일 보기

Before

Width:  |  Height:  |  크기: 5.6 KiB

After

Width:  |  Height:  |  크기: 5.6 KiB

파일 보기

Before

Width:  |  Height:  |  크기: 2.9 KiB

After

Width:  |  Height:  |  크기: 2.9 KiB

파일 보기

Before

Width:  |  Height:  |  크기: 11 KiB

After

Width:  |  Height:  |  크기: 11 KiB

파일 보기

Before

Width:  |  Height:  |  크기: 3.3 KiB

After

Width:  |  Height:  |  크기: 3.3 KiB

파일 보기

Before

Width:  |  Height:  |  크기: 3.7 KiB

After

Width:  |  Height:  |  크기: 3.7 KiB

파일 보기

Before

Width:  |  Height:  |  크기: 9.0 KiB

After

Width:  |  Height:  |  크기: 9.0 KiB

파일 보기

Before

Width:  |  Height:  |  크기: 3.0 KiB

After

Width:  |  Height:  |  크기: 3.0 KiB

파일 보기

Before

Width:  |  Height:  |  크기: 3.1 KiB

After

Width:  |  Height:  |  크기: 3.1 KiB

파일 보기

Before

Width:  |  Height:  |  크기: 4.5 KiB

After

Width:  |  Height:  |  크기: 4.5 KiB

파일 보기

Before

Width:  |  Height:  |  크기: 3.4 KiB

After

Width:  |  Height:  |  크기: 3.4 KiB

파일 보기

Before

Width:  |  Height:  |  크기: 3.6 KiB

After

Width:  |  Height:  |  크기: 3.6 KiB

파일 보기

Before

Width:  |  Height:  |  크기: 13 KiB

After

Width:  |  Height:  |  크기: 13 KiB

파일 보기

Before

Width:  |  Height:  |  크기: 3.2 KiB

After

Width:  |  Height:  |  크기: 3.2 KiB

파일 보기

Before

Width:  |  Height:  |  크기: 3.0 KiB

After

Width:  |  Height:  |  크기: 3.0 KiB

파일 보기

Before

Width:  |  Height:  |  크기: 6.2 KiB

After

Width:  |  Height:  |  크기: 6.2 KiB

파일 보기

Before

Width:  |  Height:  |  크기: 3.3 KiB

After

Width:  |  Height:  |  크기: 3.3 KiB

파일 보기

Before

Width:  |  Height:  |  크기: 2.9 KiB

After

Width:  |  Height:  |  크기: 2.9 KiB

파일 보기

Before

Width:  |  Height:  |  크기: 3.6 KiB

After

Width:  |  Height:  |  크기: 3.6 KiB

파일 보기

Before

Width:  |  Height:  |  크기: 3.6 KiB

After

Width:  |  Height:  |  크기: 3.6 KiB

파일 보기

Before

Width:  |  Height:  |  크기: 4.2 KiB

After

Width:  |  Height:  |  크기: 4.2 KiB

파일 보기

@ -749,7 +749,7 @@ def settings_post(db):
def update():
"""Handles updating"""
subprocess.Popen([os.path.dirname(os.path.realpath(__file__)) +
"/updater.sh"])
"/updater.sh"]) # TODO
redirect("/settings")

파일 보기

Before

Width:  |  Height:  |  크기: 82 KiB

After

Width:  |  Height:  |  크기: 82 KiB

파일 보기

Before

Width:  |  Height:  |  크기: 108 KiB

After

Width:  |  Height:  |  크기: 108 KiB

파일 보기

Before

Width:  |  Height:  |  크기: 64 KiB

After

Width:  |  Height:  |  크기: 64 KiB