From 816ca63ef4ebebef638d4970260e9f017a8ce68d Mon Sep 17 00:00:00 2001 From: Mathieu Broillet Date: Tue, 12 Oct 2021 18:03:34 +0200 Subject: [PATCH 1/4] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index aa7b666..2bb335c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ jarvis banner -# jarvis +# jarvis-server Jarvis is a simple IA for home automation / personal assistant with voice commands written in Python. It can be used alongside with HomeAssistant, the more devices you have on HomeAssistant, the more you will be able to teach to Jarvis. @@ -69,4 +69,4 @@ pipwin install fann2 */!\ Only Windows usually* Returns an error 404 when requesting information about an entity_id, you need to edit the source code of the file " rawapi.py" from the api. -Line 53 of rawapi.py must be changed from ``self.endpoint(path),`` to ``self.endpoint(path.replace('\\', '/')),`` \ No newline at end of file +Line 53 of rawapi.py must be changed from ``self.endpoint(path),`` to ``self.endpoint(path.replace('\\', '/')),`` From d090a6ae014696b53c4b4104b792eae9de5ee914 Mon Sep 17 00:00:00 2001 From: Mathieu Broillet Date: Tue, 12 Oct 2021 18:17:09 +0200 Subject: [PATCH 2/4] Create start.sh --- start.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 start.sh diff --git a/start.sh b/start.sh new file mode 100644 index 0000000..1d62c57 --- /dev/null +++ b/start.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash +set -e + + +cd /jarvis/ + +if [ $ENV_STATUS = "testing" ]; then + git pull origin master +fi + +python3 -m pip install -r requirements.txt +python3 run.py From fb3470e7bdb8a8416abd191b6da41e5ec4c87fdf Mon Sep 17 00:00:00 2001 From: Mathieu Broillet Date: Tue, 12 Oct 2021 19:50:07 +0200 Subject: [PATCH 3/4] Update .gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 55cf675..b08f550 100644 --- a/.gitignore +++ b/.gitignore @@ -139,3 +139,4 @@ dmypy.json /ffmpeg/ /jarvis/config/secrets.json +start.sh From e7d8898ab9cbac09e2f8bbc5fe9729ee9a508a53 Mon Sep 17 00:00:00 2001 From: Mathieu Broillet Date: Tue, 12 Oct 2021 19:50:25 +0200 Subject: [PATCH 4/4] Delete start.sh --- start.sh | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 start.sh diff --git a/start.sh b/start.sh deleted file mode 100644 index 1d62c57..0000000 --- a/start.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env bash -set -e - - -cd /jarvis/ - -if [ $ENV_STATUS = "testing" ]; then - git pull origin master -fi - -python3 -m pip install -r requirements.txt -python3 run.py