I’ve been inspired by all the ways y’all have kept this community going. Finding myself with a bit of extra time on my hands thanks to quarantine, I’ve been working on a new kegbot-server release — the first release in over 5 years!
Before you get too excited, this is mostly an “under the hood” release: I’ve pulled in some bugfixes and small features, but the biggest new feature is the codebase: Its major dependencies have been updated to the latest versions, so it should be both easier to build and moreover easier for others to extend from here.
The other big change is that configuration and setup have been simplified to make it easier to run the server on a platform like heroku or in any docker environment. In fact, docker builds are now built automatically. Pre-built docker images for Rapsberry Pi are included too.
You can see a partial changelog here.
How to test
Important: Be sure to manually back up all of your data first. I recommend you try this with a separate/fresh setup rather than anything important.
These instructions assume you have some familiarity with Docker and
First, copy and save this file as
version: '3' services: kegbot: image: kegbot/server:latest-arm ports: - "8000:8000" volumes: - kegbot-data:/kegbot-data environment: KEGBOT_REDIS_URL: "redis://redis:6379/0" KEGBOT_DATABASE_URL: "mysql://kegbot_dev:[email protected]/kegbot_dev" KEGBOT_SETUP_ENABLED: "true" KEGBOT_DEBUG: "true" workers: image: kegbot/server:latest-arm command: bin/kegbot run_workers volumes: - kegbot-data:/kegbot-data environment: KEGBOT_REDIS_URL: "redis://redis:6379/0" KEGBOT_DATABASE_URL: "mysql://kegbot_dev:[email protected]/kegbot_dev" KEGBOT_SETUP_ENABLED: "true" KEGBOT_DEBUG: "true"
Now, start the services:
$ docker-compose up
Visit http://localhost:8000 . It may take a minute for the page to become available. If you see an error, wait a little and try again.
You should be greeted by the Kegbot setup wizard. Walk through to create a new server.
What to test
Generally, explore and look for bugs, there are probably quite a few. If you find something broken, you can reply here or file it on github if you’re confident it’s a bug.
I’ll keep this post updated with the latest instructions and known issues. Thanks!