Skip to content

Latest commit

 

History

History
64 lines (51 loc) · 2.37 KB

README.md

File metadata and controls

64 lines (51 loc) · 2.37 KB

Portable Vagrant Box

Need a way to set up a development environment really easily? Here's one!

Usage

  1. Install Virtual Box and Vagrant
  2. Make a project directory and cd into it
  3. execute git clone [email protected]:calebdre/Portable-Vagrant.git ./
  4. choose one of the configurations specified at the bottom
  5. execute vagrant up
  6. Check out localhost:5000
  7. Start hacking away in the app folder
This box includes the following:

With npm modules:

With gems:

user: root
password: ""
database name: database

In order to set up PHP, follow these steps:

  1. Edit the $project variable in the puppet\manifests\init.pp file, setting it to php
  2. run vagrant up
  3. check out http://localhost:5000

In order to have a wordpress environment, follow these steps:

  1. Edit $project variable in the puppet\manifests\init.pp file, setting it to wordpress
  2. execute vagrant up
  3. Check out http://localhost:5000
  4. Enter a site title, username, and password
  5. Start making wordpress themes!

In order to use a laravel environment, follow these steps:

  1. Edit $project variable in the puppet\manifests\init.pp file, setting it to laravel
  2. execute vagrant up
  3. execute cd app
  4. execute composer create-project laravel/laravel ./
  5. execute chmod -R 777 app/storage
  6. Check out http://localhost:5000

In order to set up flask, follow these steps:

  1. Edit the $project variable in the puppet\manifests\init.pp file, setting it to flask
  2. execute vagrant up
  3. ssh into the vagrant box (execute vagrant ssh)
  4. execute python /vagrant/app/app.py inside the vagrant box
  5. check out http://localhost:5000