This is an alternative to running the Android program “Using local storage”. You can run a full Kegbot Server directly on the same tablet, with no extra hardware and you don’t have to pay for monthly hosting like Digital Ocean or Heroku. The only downside is that you may not be able to access the server from outside the tablet (i.e. LAN or Internet). I haven’t looked into how the network topology works, but it may be possible.
Nab a copy of GNURoot Debian https://play.google.com/store/apps/details?id=com.gnuroot.debian&hl=en The other GNURoot distributions (like wheezy) are not all-in-one packages, and require some filesystem setup. This one is a 2-click install.
Follow the steps in https://kegbot.org/docs/server/install Slight additional notes:
a) You are already “fake root” so root commands do not need sudo.
b) Run “apt-get update” before anything
c) Do not run “apt-get upgrade” It doesn’t work and puts your dpkg in a messed up state. You will have to remove everything from /var/lib/dpkg/updates if this happens.
d) /data/kb can’t be created, even under “fake root”. I just put everything under /kb.
e) Instead of running setup-kegbot.py, go to “cd /kb/bin” and then “setup-kegbot.py --allow_root true” instead
The server should run at 127.0.0.1:8000 and you can access it from the Android chrome and kegbot-android at this address.