No known key found for this signature in database
GPG Key ID: 86A4D290ED03FAB4
1 changed files with
18 additions and
2 deletions
-
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. |
|
|
|