Last active
June 15, 2020 16:14
-
-
Save rvalyi/1338636d2d59f30d353a7a8aef4c6a39 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install on Ubuntu Server 18.04.3 LTS | |
byobu | |
# install Docker https://docs.docker.com/install/linux/docker-ce/ubuntu/ | |
sudo apt-get update | |
sudo apt-get install -y\ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
gnupg-agent \ | |
software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo apt-key fingerprint 0EBFCD88 | |
sudo add-apt-repository \ | |
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \ | |
$(lsb_release -cs) \ | |
stable" | |
sudo apt-get update | |
sudo apt-get install -y docker-ce docker-ce-cli containerd.io | |
# install pipx | |
# (Pipx is focused on installing and managing Python packages | |
# that can be run from the command line directly as applications.) | |
sudo apt-get install -y python3-pip | |
sudo python3 -m pip install --user pipx | |
sudo python3 -m pipx ensurepath | |
sudo apt-get install -y python3-venv | |
~/.local/bin/pipx ensurepath | |
# logout and login again | |
# install ak https://github.com/akretion/ak | |
~/.local/bin/pipx install git+https://github.com/akretion/ak --force --include-deps | |
#install docky | |
~/.local/bin/pipx install git+https://github.com/akretion/docky --force --include-deps | |
# This section doesn't apply when running as root on Digital Ocean | |
# exit sudo mode | |
# add $USER to docker group | |
# sudo usermod -aG docker $USER | |
# switch terminal or logout and login | |
# install and run an Odoo Docky template https://github.com/akretion/docky-odoo-template | |
git clone https://github.com/akretion/docky-odoo-template odoo_project | |
docker network create traefik | |
cd odoo_project/odoo | |
ak build | |
cd .. | |
docky run | |
# install nginx | |
apt-get install nginx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment