https://github.com/itk-dev/sensors
Nodejs to collect sensor data
https://github.com/itk-dev/sensors
Last synced: 7 months ago
JSON representation
Nodejs to collect sensor data
- Host: GitHub
- URL: https://github.com/itk-dev/sensors
- Owner: itk-dev
- License: gpl-3.0
- Created: 2017-12-13T13:31:36.000Z (over 8 years ago)
- Default Branch: develop
- Last Pushed: 2021-04-13T10:11:11.000Z (almost 5 years ago)
- Last Synced: 2025-04-07T03:30:09.916Z (12 months ago)
- Language: JavaScript
- Size: 219 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# sensors
Nodejs to collect sensor data.
## Install
Get containers up and running and install packages
```sh
docker-compose pull
docker-compose up --detach
docker-compose exec node ./npm_install.sh
```
> **_NOTE_** All arguments passed to npm_install.sh will be passed on to the npm install command.
Create a configuration file from example.config.js
```sh
cp example.config.js config.js
```
Edit the config to your needs.
Setup the database with
```sh
docker-compose exec node npm run migrate
```
## Upgrading modules
```sh
docker-compose exec node ./npm_upgrade.sh
```
> **_NOTE_** All arguments passed to npm_upgrade.sh will be passed on to the npm install command.
## Documentation
See `doc/`folder for documentation.