Balena Supervisor: balena's agent on devices.
Go to file
Pablo Carranza Vélez 9ea79516a0 Ignore config.json
2015-10-13 13:43:35 -03:00
automation Take the ARCH param from jenkins, so that the different archs can be separate projects (and parallelise builds) 2015-10-13 13:39:38 -03:00
bin Preserve docker env in terminal session 2015-10-13 13:43:34 -03:00
src Make use of resin-register-device 2015-10-13 13:42:25 -03:00
tools/dind Add an empty placeholder config.json to denote where it belongs. 2015-10-13 13:43:34 -03:00
.dockerignore Allow running the supervisor in the devenv using docker in docker. 2015-10-13 13:42:23 -03:00
.editorconfig add editor config 2015-10-13 13:39:37 -03:00
.gitattributes Add a .gitattributes file to make sure files for use on linux have linux style line-endings. 2015-10-13 13:03:14 -03:00
.gitignore Ignore config.json 2015-10-13 13:43:35 -03:00
01_nodoc Save space by using a dpkg config to avoid installing unnecessary docs/locales. 2015-10-13 13:36:13 -03:00
CHANGELOG.md Use JOBS=MAX for npm install 2015-10-13 13:43:34 -03:00
coffeelint.json add coffeelint 2015-10-13 13:39:37 -03:00
Dockerfile.amd64 Use JOBS=MAX for npm install 2015-10-13 13:43:34 -03:00
Dockerfile.armv7hf Use JOBS=MAX for npm install 2015-10-13 13:43:34 -03:00
Dockerfile.i386 Use JOBS=MAX for npm install 2015-10-13 13:43:34 -03:00
Dockerfile.rpi Use JOBS=MAX for npm install 2015-10-13 13:43:34 -03:00
entry.sh User Supervisord for logging 2015-10-13 13:28:00 -03:00
Makefile Rename Dockerfile.x86_64 to Dockerfile.amd64 2015-10-13 13:43:34 -03:00
package.json Update pinejs-client so that valid ssl certificates are enforced by default. 2015-10-13 13:43:34 -03:00
postinstall.sh Save space by removing more npm install artifacts. 2015-10-13 13:36:13 -03:00
README.md Allow running the supervisor in the devenv using docker in docker. 2015-10-13 13:42:23 -03:00
resin-supervisor.conf no updates 2015-10-13 13:34:23 -03:00

Running supervisor in the dev env

Set up config

Edit tools/dind/config.json to contain the values for a staging config.json.

Start the supervisor instance

make ARCH=i386 run-supervisor

View the containers logs

logs supervisor -f

View the supervisor logs

enter supervisor
tail /var/log/supervisor-log/resin_supervisor_stdout.log -f