-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbootstrap-vagrant.sh
More file actions
39 lines (29 loc) · 869 Bytes
/
bootstrap-vagrant.sh
File metadata and controls
39 lines (29 loc) · 869 Bytes
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
31
32
33
34
35
36
37
38
39
#! /bin/bash
# Update package list and upgrade all packages
sudo apt-get update
# Install debug tools
sudo apt-get -y install curl
# Install git
sudo apt-get -y install git
sudo apt-get -y install tig
# Install python pip3
sudo apt-get -y install python-pip
# Install django package
sudo pip install django
# Install sqlite3
sudo apt-get install sqlite3
#Install python Github librairie
sudo pip install PyGithub
# Requirements for headless Selenium tests
sudo apt-get install -y xvfb firefox xfonts-100dpi xfonts-75dpi xfonts-scalable xfonts-cyrillic
#Install selenium
sudo pip install selenium
# Virtual display for the Selenium tests
if ! grep -q "DISPLAY=:99" /home/vagrant/.profile
then
echo "export DISPLAY=:99" >> /home/vagrant/.profile
fi
#Install Celery
sudo pip install celery
#Install RabbitMQ for Celery
sudo apt-get install -y rabbitmq-server