Merge pull request #3 from dy-dx/vagrant-instructions
add vagrant.sh for setting up linux deps; add usage instructions
This commit is contained in:
commit
33026aa8ba
20
README.md
20
README.md
|
@ -2,3 +2,23 @@ demboyz
|
|||
=======
|
||||
|
||||
we dem boyz
|
||||
|
||||
|
||||
### Using Vagrant
|
||||
|
||||
# Launch VM
|
||||
vagrant up
|
||||
vagrant ssh
|
||||
cd /vagrant
|
||||
|
||||
# Install Linux dependencies (first time setup)
|
||||
./vagrant.sh
|
||||
|
||||
# Build demboyz
|
||||
cd premake
|
||||
./gmake.sh && cd gmake
|
||||
make
|
||||
|
||||
# Disconnect session and stop VM
|
||||
exit
|
||||
vagrant halt
|
||||
|
|
13
vagrant.sh
Executable file
13
vagrant.sh
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
# http://askubuntu.com/a/497033
|
||||
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
|
||||
sudo apt-get update
|
||||
|
||||
sudo apt-get install build-essential -y
|
||||
|
||||
sudo apt-get install gcc-4.9 g++-4.9 -y
|
||||
sudo apt-get install gcc-4.9-multilib g++-4.9-multilib -y
|
||||
|
||||
sudo apt-get install clang-3.6++ -y
|
||||
sudo ln -s /usr/bin/clang++-3.6 /usr/bin/clang++
|
Loading…
Reference in New Issue
Block a user