All Projects → calebdre → Portable-Vagrant

calebdre / Portable-Vagrant

Licence: other
Virtual box for development

Programming Languages

Puppet
460 projects
PHP
23972 projects - #3 most used programming language
python
139335 projects - #7 most used programming language

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:

Nginx

Composer

NodeJs

With npm modules:

Ruby (1.9.3p484)

With gems:

MySql

user: root
password: ""
database name: database

PHP 5

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

Wordpress Configuration

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!

Laravel Configuration

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

Python/Flask

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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].