Collects data from distributed sensors pushed via the pushit service.
Chechout the repository via git clone && cd schism.
Config is done via .envrc, you need to install direnv on your dev machine and on the raspberry.
To install dependencies run go mod download.
Build and run via:
Images are build via github and docker.com - pull them via docker pull gormed/schism:latest to get the latest master build.
deployer pull production
deplyoer up production
# View logs
deployer logs production
# Stop production
deployer down production
Build and run with air (see ./build/air.conf) for hot-reloading code.
deployer build
deployer push
deplyoer up
# View logs
deployer logs
# Stop development
deployer down
# Rebuid and update is done via air
Build and run with delve on port 2345
deployer build debug
deployer push debug
deplyoer up debug
# View logs
deployer logs debug
# Stop debugging
deployer down
# Rebuid and update
deployer build debug && deployer push debug && deployer up debug
In vscode run the debug config Delve into Docker (do not forget to set a breakpoint).
Content type
Image
Digest
sha256:a42c2f5c4…
Size
14.2 MB
Last updated
about 3 years ago
docker pull gormed/schism