Need a way to set up a development environment really easily? Here's one!
- Install Virtual Box and Vagrant
- Make a project directory and
cdinto it - execute
git clone git@github.com: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
With npm modules:
With gems:
user: root
password: ""
database name: database
In order to set up PHP, follow these steps:
- Edit the
$projectvariable in thepuppet\manifests\init.ppfile, setting it tophp - run
vagrant up - check out http://localhost:5000
In order to have a wordpress environment, follow these steps:
- Edit
$projectvariable in thepuppet\manifests\init.ppfile, setting it towordpress - execute
vagrant up - Check out http://localhost:5000
- Enter a site title, username, and password
- Start making wordpress themes!
In order to use a laravel environment, follow these steps:
- Edit
$projectvariable in thepuppet\manifests\init.ppfile, 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
In order to set up flask, follow these steps:
- Edit the
$projectvariable in thepuppet\manifests\init.ppfile, setting it toflask - execute
vagrant up - ssh into the vagrant box (execute
vagrant ssh) - execute
python /vagrant/app/app.pyinside the vagrant box - check out http://localhost:5000