Giter Site home page Giter Site logo

phase-0-dev-box's Introduction

phase-0-dev-box

Summary

This README will walk you through setting up a Linux dev environment using Vagrant and Chef. Feel free to read more about these technologies online, this README will focus on getting the technologies to work for you. Here is a list of commands you will be running in order for your reference. Detailed instructions will be presented in the releases.

git clone https://github.com/Devbootcamp/phase-0-dev-box.git

cd phase-0-dev-box

vagrant plugin install vagrant-vbguest

vagrant plugin install vagrant-librarian-chef-nochef

vagrant up

vagrant ssh

cd /vagrant

exit

Release 0: Install prerequisite programs

Install these programs:

For Windows Machines only:

Install the git bash software for windows, follow default options until you get to adjusting your PATH.

pick Run Git and included Unix tools from the Windows Command Prompt.

Continue with defaults.

Install Vagrant and Virtualbox for windows, follow default options.

Open the git bash (programs > git > git bash) you should be presented with a terminal interface.

Release 1: Clone the repo

Clone this repo to your desktop directory:

In the terminal type: cd Desktop

git clone https://github.com/Devbootcamp/phase-0-dev-box.git

cd phase-0-dev-box

Release 2: Install Vagrant Plugins

Install two vagrant plugins in your command line:

vagrant plugin install vagrant-vbguest

vagrant plugin install vagrant-librarian-chef-nochef

Release 3: Install Virtual Machine

To install the virtual machine, type:

vagrant up

If you have an error that looks like this

 [NOTE]
 You may have encountered a bug in the Ruby interpreter or extension libraries.
 Bug reports are welcome.
 For details: http://www.ruby-lang.org/bugreport.html


 This application has requested the Runtime to terminate it in an unusual way.
 Please contact the application's support team for more information.

on this step, run this command vagrant plugin uninstall ffi && vagrant plugin install ffi --plugin-version 1.9.8,

otherwise you can continue to the next release.

Release 4: Connect to Vagrant

Type this command to connect to your VM:

vagrant ssh

To find the shared folder between the VM and your home operating system, change your directory to /vagrant:

cd /vagrant

Now you are using Linux!

Release 5: Test for completion

ruby -v should output 2.2.1

rspec -v should output 3.1.5

sqlite3 --version should output 3.8.7

git --version should output 2.2.1

Workflow

In order to use this environment, you will need to make sure you clone your Devbootcamp repositories into this repository.

  1. Clone the unit repo into the phase-0-dev-box

  2. Connect to the vagrant box (in your command line) using vagrant ssh

  3. Open the repository in Sublime Text

  4. Change directories using cd /vagrant

  1. Edit the files in Sublime, then run them as instructed in the command line

phase-0-dev-box's People

Contributors

mechamanny avatar supertopher avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.