Sign inSign up

gormed/schism

By gormed

•Updated about 3 years ago

schism docker images - dev

Image
0

246

gormed/schism repository overview

⁠Schism

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.

⁠Production

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

⁠Development

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
⁠Debug

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).

Tag summary

Content type

Image

Digest

sha256:a42c2f5c4…

Size

14.2 MB

Last updated

about 3 years ago

docker pull gormed/schism