A really simple web development environment with this tools using Vagrant.
This is still a work in progress and have important things to do.
Considering that you have the requirements installed, follow these steps:
-
Clone the repo:
git clone [email protected]:mdentinho/Simple-Web-Dev-Env.git
-
Enter the repo's folder
cd Simple-Web-Dev-Env
-
Start the VM
vagrant up
-
Wait the provisioning (Good time to refill your coffee mug).
-
Get in to it
vagrant ssh
This is a web development environment I've created so I can have the same tools I use to develop web sites and web apps from anywhere I go.
It is also a cloud based backup of my environment, just in case I have any problem with my computer (hope not, but who knows).
Sometimes I need to use computers that are not mine and this automates the process to have a working development environment with all the tools I need and that I am used to.
This also allows me to share it with people that may work with me in some of my projects.
The idea is to have an environment that replaces a development computer with all the tools I need to work with my web projects.
As the projects that I work have their own Vagrant VMs and each one of them runs their own servers, I just need the tools to develop and I run their Vagrant VMs separately.
With that said, this is NOT a server VM and it doesn't supose to run servers like Nginx, Apache, PostgreSQL, MySQL etc. But it has SQLite and MondoDB to speed up developments with Laravel and Node.js projects.
- VirtualBox
- Vagrant
- Git (If you want to clone, but you can download the zip if you wish.)
I recommend that you install the vagrant-vbguest plugin to avoid incompatibilities between the VirtualBox version and the Vagrant box used.
- OS: Ubuntu 12.10 Precise 64bits.
- Memory: 512MB
- Network: NFS
- IP: 33.33.33.10
When serving something inside the VM it necessary to use the 0.0.0.0
IP. Any other ip will not have the ports forwarded. Examples:
- Laravel Artisan:
php artisan serve --host="0.0.0.0"
- Add semver to the provisioning
- Install Zurb's Foundation CLI
- Install Vim (Just in case I can't use Sublime Text)
- Test on Windows.
- Test communication with other Vagrant VMs.
- Transpose the ssh public key
- Configure it to run behind proxies