Skip to content

hleng1/vagrant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vagrant

Current box: ubuntu/xenial64 (Ubuntu 16.04 LTS)

Usage:

  1. Install Vagrant

  2. Install Virtualbox (Also works with other providers.)

  3. git clone https://github.com/Honpray/vagrant

  4. Create your own data/ folder in the same direcotry of vagrant, which will be synced to the /vagrant_data folder during vagrant up or vagrant reload.

  5. Change the username and email in .gitconfig.

  6. cd vagrant && vagrant up Start the VM.

  7. vagrant ssh Connect to the VM terminal and start working.

  8. vagrant halt Gracefully shutdown the VM.

  9. vagrant destroy Destroys all resources that were created during the machine creation process.

  10. Port 80 on guest machine can be accessed at localhost:8080.

  11. More on Vagrant Doc.

Provisioning:

  1. Basic Vim: with plugins AutoClose, vim-closetag, vim-easy-align, indentline, vim-coffee-script, vim-surround, supertab, nerdcommenter, matchtagalways;

  2. npm & Node.js & MongoDB: sudo service mongo start to start MongoDB service.

  3. Coffeescript

  4. Lua LuaJIT

  5. Golang

  6. GDB debugger

  7. CMake