-
-
Notifications
You must be signed in to change notification settings - Fork 38
UniqueBibleApp webtop on Chrome OS
On Chrome OS, users simply need to set up docker to run Unique Bible App webtop version.
To run UniqueBibleApp webtop version with docker on Chrome OS, you need to enable Linux container FIRST!
- Go to Settings and search "Linux" and click "Turn on" right next to Linux development environment.
- 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.
- Simply wait until the setup process is finished.
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
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/
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
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:
After few minutes of setup, you will be able to load the page. KEEP WAITING!!!
When all setup is done, UniqueBibleApp will be automatically launched on the page.