Last active
October 21, 2015 15:46
-
-
Save ten0s/b9a18344aa046ca3ee3c to your computer and use it in GitHub Desktop.
Install vagrant env and build the project
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Download and Install VirtuaBox 4.3.20 | |
---------------------------------------- | |
Windows | |
http://download.virtualbox.org/virtualbox/4.3.20/VirtualBox-4.3.20-96997-Win.exe | |
Linux | |
https://www.virtualbox.org/wiki/Linux_Downloads | |
2. Start Virtualbox UI and make sure you are able to create 64-bit guests | |
------------------------------------------------------------------------- | |
Enable virtualization in BIOS otherwise. | |
3. Download and Install Download Vagrant | |
---------------------------------------- | |
Windows 1.6.5 | |
http://www.vagrantup.com/download-archive/v1.6.5.html | |
Linux 1.7.x (Linux) | |
http://www.vagrantup.com/downloads.html | |
4. Open Terminal (Windows -> Run) | |
--------------------------------- | |
mkdir test | |
cd test | |
vagrant init ten0s/centos6.5_mono3.2.8_x86_64 http://10.10.0.152:8000/ten0s_centos6.5_mono3.2.8_x86_64.box | |
vagrant up | |
vagrant ssh | |
xbuild | |
exit | |
5. Modify and Save Vagrantfile | |
------------------------------ | |
after the commented line: | |
# config.vm.synced_folder "../data", "/vagrant_data" | |
add a line like | |
config.vm.synced_folder "DISK:\\FULL_PATH_TO_PROJECT_WITH_DOUBLE_BACK_SLASHES", "/PROJECT_NAME" | |
6. Reload virtual machine configuration | |
--------------------------------------- | |
vagrant reload | |
7. Build the project | |
-------------------- | |
vagrant ssh | |
cd /PROJECT_NAME/src/.../PROJECT.sln | |
xbuild /t:Clean && xbuild |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
vagrant box add ten0s/centos6.5_x86_64 http://10.10.0.152:8000/ten0s_centos6.5_x86_64.box