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.