add vagrant.sh for setting up linux deps; add usage instructions

This commit is contained in:
Chris Kim 2015-05-15 19:29:17 -04:00
parent a94715a302
commit 09c39f897a
2 changed files with 33 additions and 0 deletions

View File

@ -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
View 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++