Portable Vagrant Box
Need a way to set up a development environment really easily? Here's one!
Usage
- Install Virtual Box and Vagrant
- Make a project directory and
cd
into it - execute
git clone [email protected]:calebdre/Portable-Vagrant.git ./
- choose one of the configurations specified at the bottom
- execute
vagrant up
- Check out localhost:5000
- 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:
- Edit the
$project
variable in thepuppet\manifests\init.pp
file, setting it tophp
- run
vagrant up
- check out http://localhost:5000
Wordpress Configuration
In order to have a wordpress environment, follow these steps:
- Edit
$project
variable in thepuppet\manifests\init.pp
file, setting it towordpress
- execute
vagrant up
- Check out http://localhost:5000
- Enter a site title, username, and password
- Start making wordpress themes!
Laravel Configuration
In order to use a laravel environment, follow these steps:
- Edit
$project
variable in thepuppet\manifests\init.pp
file, setting it tolaravel
- execute
vagrant up
- execute
cd app
- execute
composer create-project laravel/laravel ./
- execute
chmod -R 777 app/storage
- Check out http://localhost:5000
Python/Flask
In order to set up flask, follow these steps:
- Edit the
$project
variable in thepuppet\manifests\init.pp
file, setting it toflask
- execute
vagrant up
- ssh into the vagrant box (execute
vagrant ssh
) - execute
python /vagrant/app/app.py
inside the vagrant box - check out http://localhost:5000