UniqueBibleApp webtop on Chrome OS - eliranwong/UniqueBible GitHub Wiki

On Chrome OS, users simply need to set up docker to run Unique Bible App webtop version.

Set up Linux Container

To run UniqueBibleApp webtop version with docker on Chrome OS, you need to enable Linux container FIRST!

  1. Go to Settings and search "Linux" and click "Turn on" right next to Linux development environment.

Screenshot 2022-02-23 12 16 45 PM

  1. When you walk through the instructions, change the Linux container disk size from default 10GB to at least 20GB [a fresh installation takes 15GB. It is suggested to give at least 20GB, so as to leave room for installing customised modules.]. If you need to install lots of customised modules, you may want to make more room for them.

Screenshot 2022-02-23 12 26 16 PM

  1. Simply wait until the setup process is finished.

Screenshot 2022-02-23 12 17 49 PM

When it is finished, a Linux terminal app will be launched, with which you can proceed to the next step.

You may read more about Chrome OS Linux at: https://github.com/eliranwong/ChromeOSLinux

Set up Docker

Run on Linux terminal:

sudo apt update & sudo apt dist-upgrade

sudo apt install apt-transport-https ca-certificates curl gnupg2 software-properties-common

curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -

sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"

sudo apt update & sudo apt dist-upgrade

sudo apt-get install docker-ce docker-ce-cli containerd.io

Read more about it from this useful post: https://dvillalobos.github.io/2020/How-to-install-and-run-Docker-on-a-Chromebook/

Set up Unique Bible App webtop version

IMPORTANT! Before you proceed, make sure you set at least 20 GB disk space for your Linux container as mentioned above. In case you have not change the default 10GB, you can change it from settings [search "Linux" and you will see the option].

Run in Linux terminal:

sudo docker run -d --name=uniquebibleapp --security-opt seccomp=unconfined -e PUID=1000 -e PGID=1000 -e TZ=Europe/London -e SUBFOLDER=/ -e KEYBOARD=en-gb-qwerty -p 3000:3000 -v ~/uniquebibleapp-webtop:/config -v /var/run/docker.sock:/var/run/docker.sock --shm-size="1gb" --restart unless-stopped eliranwong/uniquebibleapp

Screenshot 2022-02-23 12 33 14 PM

To run Unique Bible App webtop version

Open "localhost:3000" on a web browser.

Please note that the first run normally takes extra few minutes for set up. Therefore, you may see loading error like this screenshot below on first run:

Screenshot 2022-02-23 12 43 14 PM

After few minutes of setup, you will be able to load the page. KEEP WAITING!!!

Screenshot 2022-02-23 12 44 30 PM

When all setup is done, UniqueBibleApp will be automatically launched on the page.

Screenshot 2022-02-23 12 48 54 PM

More about Webtop version

https://github.com/eliranwong/uniquebibleapp-webtop