Move stuff around

このコミットが含まれているのは:
Lucas Verney 2017-02-27 22:34:15 +01:00
コミット 8b39bda099
この署名に対応する既知のキーがデータベースに存在しません
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.

ファイルの表示

変更前

幅:  |  高さ:  |  サイズ: 4.7 KiB

変更後

幅:  |  高さ:  |  サイズ: 4.7 KiB

ファイルの表示

変更前

幅:  |  高さ:  |  サイズ: 3.0 KiB

変更後

幅:  |  高さ:  |  サイズ: 3.0 KiB

ファイルの表示

変更前

幅:  |  高さ:  |  サイズ: 3.8 KiB

変更後

幅:  |  高さ:  |  サイズ: 3.8 KiB

ファイルの表示

変更前

幅:  |  高さ:  |  サイズ: 3.2 KiB

変更後

幅:  |  高さ:  |  サイズ: 3.2 KiB

ファイルの表示

変更前

幅:  |  高さ:  |  サイズ: 3.6 KiB

変更後

幅:  |  高さ:  |  サイズ: 3.6 KiB

ファイルの表示

変更前

幅:  |  高さ:  |  サイズ: 2.7 KiB

変更後

幅:  |  高さ:  |  サイズ: 2.7 KiB

ファイルの表示

変更前

幅:  |  高さ:  |  サイズ: 4.7 KiB

変更後

幅:  |  高さ:  |  サイズ: 4.7 KiB

ファイルの表示

変更前

幅:  |  高さ:  |  サイズ: 5.9 KiB

変更後

幅:  |  高さ:  |  サイズ: 5.9 KiB

ファイルの表示

変更前

幅:  |  高さ:  |  サイズ: 5.6 KiB

変更後

幅:  |  高さ:  |  サイズ: 5.6 KiB

ファイルの表示

変更前

幅:  |  高さ:  |  サイズ: 2.9 KiB

変更後

幅:  |  高さ:  |  サイズ: 2.9 KiB

ファイルの表示

変更前

幅:  |  高さ:  |  サイズ: 11 KiB

変更後

幅:  |  高さ:  |  サイズ: 11 KiB

ファイルの表示

変更前

幅:  |  高さ:  |  サイズ: 3.3 KiB

変更後

幅:  |  高さ:  |  サイズ: 3.3 KiB

ファイルの表示

変更前

幅:  |  高さ:  |  サイズ: 3.7 KiB

変更後

幅:  |  高さ:  |  サイズ: 3.7 KiB

ファイルの表示

変更前

幅:  |  高さ:  |  サイズ: 9.0 KiB

変更後

幅:  |  高さ:  |  サイズ: 9.0 KiB

ファイルの表示

変更前

幅:  |  高さ:  |  サイズ: 3.0 KiB

変更後

幅:  |  高さ:  |  サイズ: 3.0 KiB

ファイルの表示

変更前

幅:  |  高さ:  |  サイズ: 3.1 KiB

変更後

幅:  |  高さ:  |  サイズ: 3.1 KiB

ファイルの表示

変更前

幅:  |  高さ:  |  サイズ: 4.5 KiB

変更後

幅:  |  高さ:  |  サイズ: 4.5 KiB

ファイルの表示

変更前

幅:  |  高さ:  |  サイズ: 3.4 KiB

変更後

幅:  |  高さ:  |  サイズ: 3.4 KiB

ファイルの表示

変更前

幅:  |  高さ:  |  サイズ: 3.6 KiB

変更後

幅:  |  高さ:  |  サイズ: 3.6 KiB

ファイルの表示

変更前

幅:  |  高さ:  |  サイズ: 13 KiB

変更後

幅:  |  高さ:  |  サイズ: 13 KiB

ファイルの表示

変更前

幅:  |  高さ:  |  サイズ: 3.2 KiB

変更後

幅:  |  高さ:  |  サイズ: 3.2 KiB

ファイルの表示

変更前

幅:  |  高さ:  |  サイズ: 3.0 KiB

変更後

幅:  |  高さ:  |  サイズ: 3.0 KiB

ファイルの表示

変更前

幅:  |  高さ:  |  サイズ: 6.2 KiB

変更後

幅:  |  高さ:  |  サイズ: 6.2 KiB

ファイルの表示

変更前

幅:  |  高さ:  |  サイズ: 3.3 KiB

変更後

幅:  |  高さ:  |  サイズ: 3.3 KiB

ファイルの表示

変更前

幅:  |  高さ:  |  サイズ: 2.9 KiB

変更後

幅:  |  高さ:  |  サイズ: 2.9 KiB

ファイルの表示

変更前

幅:  |  高さ:  |  サイズ: 3.6 KiB

変更後

幅:  |  高さ:  |  サイズ: 3.6 KiB

ファイルの表示

変更前

幅:  |  高さ:  |  サイズ: 3.6 KiB

変更後

幅:  |  高さ:  |  サイズ: 3.6 KiB

ファイルの表示

変更前

幅:  |  高さ:  |  サイズ: 4.2 KiB

変更後

幅:  |  高さ:  |  サイズ: 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")

ファイルの表示

変更前

幅:  |  高さ:  |  サイズ: 82 KiB

変更後

幅:  |  高さ:  |  サイズ: 82 KiB

ファイルの表示

変更前

幅:  |  高さ:  |  サイズ: 108 KiB

変更後

幅:  |  高さ:  |  サイズ: 108 KiB

ファイルの表示

変更前

幅:  |  高さ:  |  サイズ: 64 KiB

変更後

幅:  |  高さ:  |  サイズ: 64 KiB