File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,42 @@ Install Dependencies
77--------------------
88
99```
10- pip install hg+http://bitbucket.org/pygame/pygame
11- pip install https://github.com/hwmrocker/pygameui/archive/master.zip
12- pip install docopt msgpack-python
13- ```
10+ apt-get install python3-pip python3-dev libsdl-image1.2-dev libsdl-mixer1.2-dev \
11+ libsdl-ttf2.0-dev libsdl1.2-dev libsmpeg-dev python-numpy subversion \
12+ libportmidi-dev libfreetype6-dev libavformat-dev libswscale-dev mercurial
13+
14+ pip3 install hg+http://bitbucket.org/pygame/pygame
15+ pip3 install https://github.com/hwmrocker/pygameui/archive/master.zip
16+ pip3 install docopt msgpack-python
17+ ```
18+
19+ Via vagrant
20+ -----------
21+
22+ install newest vagrant version from https://www.vagrantup.com/downloads.html and virtual box
23+
24+ type ` vagrant up ` in the directory with the source files
25+
26+ wait a bit until the image is downloaded and startet. A new window with the VM should open.
27+ Login in with user and passwort ` vagrant ` . Compile and / or install all dependecies.
28+
29+ ```
30+ sudo su
31+ cd /vagrant
32+ bash bootstrap.sh
33+ exit
34+ ```
35+
36+ Now start the XServer.
37+
38+ ```
39+ startx
40+ ```
41+
42+ start the server in the xterm window
43+
44+ ```
45+ python3 bomber.py
46+ ```
47+
48+ Now you can connect your client to localhost:8001. Happy hacking.
Original file line number Diff line number Diff line change 1+ # -*- mode: ruby -*-
2+ # vi: set ft=ruby :
3+
4+ # Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
5+ VAGRANTFILE_API_VERSION = "2"
6+
7+ Vagrant . configure ( VAGRANTFILE_API_VERSION ) do |config |
8+ config . vm . box = "ubuntu/trusty64"
9+ # config.vm.provision :shell, path: "bootstrap.sh"
10+ config . vm . network :forwarded_port , host : 8001 , guest : 8001
11+
12+ config . vm . provider :virtualbox do |vb |
13+ vb . gui = true
14+ end
15+
16+ end
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ apt-get update
4+ apt-get install -y xinit python3-pip python3-dev libsdl-image1.2-dev libsdl-mixer1.2-dev \
5+ libsdl-ttf2.0-dev libsdl1.2-dev libsmpeg-dev python-numpy subversion \
6+ libportmidi-dev libfreetype6-dev libavformat-dev libswscale-dev mercurial
7+
8+ pip3 install hg+http://bitbucket.org/pygame/pygame
9+ pip3 install https://github.com/hwmrocker/pygameui/archive/master.zip
10+ pip3 install docopt msgpack-python
You can’t perform that action at this time.
0 commit comments