From 95f1eec714c41b93b762d10b53220d4320d0a401 Mon Sep 17 00:00:00 2001 From: Haris Razis Date: Thu, 12 Nov 2020 11:36:00 +0200 Subject: [PATCH] =?UTF-8?q?=20=F0=9F=93=9C=20Update=20README.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0b5a3b8..f0db25b 100644 --- a/README.md +++ b/README.md @@ -8,12 +8,12 @@ Anchiale is an internet of things solution for temperature sampling with raspber ## Installation -**Run Locally** - Clone the project: git clone git@github.com:xrazis/Anchiale-pi.git +## Run Locally + NPM install npm install --prefix ./client @@ -32,3 +32,19 @@ Running the client You can span as many clients as you want! ## Run in Docker + +Start the database + + bash ./database/database.sh + +Configure the database on localhost:8086. Be sure to set and export the token, org and bucket on /server/config/creds.ts. + +Start the server + + bash ./server/server.sh + +Start the client + + bash ./client/client.sh + +> Note: This guide assumes that you run all containers localy and use the tempTestMeasure() on client.