-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhelp
48 lines (48 loc) · 1.61 KB
/
help
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
40
41
42
43
44
45
46
47
48
# commands that may be used to test the simulator
# install mandatory packages (mercurial is only needed for the vim install from sources)
sudo apt-get update
sudo apt-get install git -q -y
sudo apt-get install python-dev -q -y
sudo apt-get install mercurial -q -y
sudo apt-get install make -q -y
sudo apt-get install g++ -q -y
sudo apt-get install libsdl1.2-dev -q -y
sudo apt-get install libsdl-image1.2-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev -q -y
sudo apt-get install libode-dev -q -y
sudo apt-get install libsmpeg-dev -q -y
sudo apt-get install libv4l-dev -q -y
sudo apt-get install freeglut3-dev -q -y
sudo apt-get install libc6 libjpeg8 libpng12-0 libportmidi0 libsdl-image1.2 libsdl-mixer1.2 libsdl-ttf2.0-0 libsdl1.2debian libsmpeg0 libx11-6 ttf-freefont -q -y
cd /usr/include/linux
# patch needed for a python package (probably pygame)
sudo ln -s ../libv4l1-videodev.h videodev.h
cd -
# you may chose a different way to install vim and protobuf
git clone http://github.com/dchilot/germs.git
cd germs
echo -e "source ~/germs/germs/infect.sh\nsource ~/germs/germs/cure.sh" >> ~/.bashrc
bash ./bootstrap.sh
source env/bin/activate
pip install -r requirements
cd germs
fab install:vim
source ~/germs/germs/infect.sh
source ~/germs/germs/cure.sh
infect vim front
fab install:protobuf
fab install:zmq
infect protobuf front
infect zmq front
# now deal with the project itself
mkdir ~/orwell
cd ~/orwell/
git clone http://github.com/dchilot/proxy-simulator.git
virtualenv venv
deactivate
source venv/bin/activate
pip install -r requirements.txt
export PYTHONPATH=$(pwd)
git submodule init
git submodule update
source ./generate.sh
./runner.sh