Skip to content

Latest commit

 

History

History
56 lines (36 loc) · 1.78 KB

Vagrant_Development_Instructions.md

File metadata and controls

56 lines (36 loc) · 1.78 KB

How to view the slides with vagrant?

What is Vagrant?

Vagrant is a tool for building and managing virtual machine environments in a single workflow. With an easy-to-use workflow and focus on automation, Vagrant lowers development environment setup time, increases production parity, and makes the "works on my machine" excuse a relic of the past.

Prerequisites

  • Virtualbox min. Version 5
  • Vagrant min. Version 2.7
  • Clone/Download of the repository

On the computers in the PC-Pools the software should be already installed. The only task there is either

  • Download
  • Clone (with cmd.exe and git command or the Gitg application)

Steps to do

It is taken that all these steps are done in an cmd.exe window that has the current working directory in the cloned/downloaded repository.

Hint: cd ...

  1. Run $ vagrant up development The output should look like:

asciicast

  1. Run $ vagrant ssh development To have console access to the VM.

asciicast

  1. VM is ready to use.

Additional information

  • The cloned/downloaded repo folder on your computer is automatically mounted at /vagrant
  • Changes in the /vagrant folder and repo folder on your computer are instantly on the computer and the vm

Hint: You can use your editor of your computer and use the vm to run the commands.

Shutdown, reboot and save state (suspend) of VM

  • Shutdown: $ vagrant halt development
  • Reboot: $ vagrant reload development
  • Suspend: $ vagrant suspend development