forked from OpenConceptLab/oclapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bootstrap_env.sh
executable file
·30 lines (27 loc) · 980 Bytes
/
bootstrap_env.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash
apt-get update
apt-get install python2.7
apt-get install apt-transport-https ca-certificates
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
echo "deb https://apt.dockerproject.org/repo ubuntu-xenial main" | sudo tee /etc/apt/sources.list.d/docker.list
apt-get update
apt-get purge lxc-docker
apt-cache policy docker-engine
apt-get install -y docker-engine
systemctl status docker
curl -L https://github.com/docker/compose/releases/download/1.8.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
docker-compose --version
apt-get install postgresql
apt-get install python-pip
apt-get install python-setuptools
easy_install virtualenv
apt-get install nodejs
apt-get install npm
ln -s /usr/bin/nodejs /usr/bin/node
apt-get install libpq-dev
apt-get install libffi-dev
apt-get install htop
npm install -g grunt
mkdir /var/log/ocl
mkdir releases