-
Notifications
You must be signed in to change notification settings - Fork 288
Docker setup notes
phlax edited this page Apr 13, 2018
·
20 revisions
Your (virtual) machine should have a minimum of 2GB available memory to run the demo. You will also need a minimum of 5GB available disk space (excluding swap if in a vm).
following guide here https://docs.docker.com/install/linux/docker-ce/debian/
apt-get update
apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg2 \
software-properties-common
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/debian \
$(lsb_release -cs) \
stable"
apt-get update
apt-get install docker-ce
apt install git python-virtualenv
groupadd -r pootle
useradd \
-m \
-d /home/pootle \
-k /etc/skel \
-s /bin/bash \
-g pootle \
pootle
gpasswd -a pootle docker
su pootle
mkdir ~/pootle_env
cd ~/pootle_env
virtualenv .
. bin/activate
git clone https://github.com/translate/pootle
cd pootle
pip install -r requirements/host.txt
makey demo