Skip to content

An awesome Vagrant to jumpstart your development into 42 project : Inception.

Notifications You must be signed in to change notification settings

hel-kame/inception_vagrant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 

Repository files navigation

vagrant-logo

Inception virtual environment

An awesome Vagrant to jumpstart your development into 42 project : Inception
Report Bug · Request Feature


Table of contents

About

Vagrant enables the creation and configuration of lightweight, reproducible, and portable development environments.

Getting Started

Prerequisites

To use the environment, you need to have Vagrant and VirtualBox installed.
If you have been working from 42 computer, they are already installed.
So if you don't, you should run:

curl -L https://raw.githubusercontent.com/hel-kame/inception_vagrant/master/install.sh | bash

If you have been working from 42 computer:

  1. Selecting Preferences from the File menu on the Left-Top in the VM VirtualBox main window.
  2. Then in the displayed window, click on the General tab.
  3. Change the Default Machine folder on your goinfre/.

Installation

If you have been working from 42 computer, don't forget to do the installation in your goinfre/.

git clone https://github.com/hel-kame/inception_vagrant.git && cd inception_vagrant && vagrant up

Make sure your environment variable $USER is the same as your 42 login.
If necessary, you can replace the #{LOCAL_USER} variable into the Vagrantfile with your login if you don't work on 42 computers.

All the passwords of each user are vagrant.


Usage

Vagrant Commands

Let's look at some of the basic commands to control the Vagrant environment.
To be able to control Vagrant environment, you must be at the location of the Vagrantfile :

  • vagrant up - Turns on the environment (or creates it if it doesn't exist yet).
  • vagrant ssh - This connects you to the environment over ssh.
  • vagrant halt - Shutdown the environment.
  • vagrant status - See what the environment is up to.
  • vagrant destroy - Completely delete the environment and all data on it.
  • vagrant reload - Reloads the environment. Useful if you change the Vagrantfile.

More

You can optimize your work when using a Vagrant environment in several ways.

About

An awesome Vagrant to jumpstart your development into 42 project : Inception.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages