- Translations Spanish
The intention behind this project is to provision a lamp environment using vagrant in the shortest amount of time with the smallest possible number of configuration and without having to install any of the lamp components directly in your system.
List of components.
- Apache 2.4
- Python 3.6 and 2.7
- Pip 9.1
- Ruby 2.5
- MySQL 5.7
- SQlite3
- PHP 7.2
- PHPMyAdmin
- Composer
- Codeception
- Mailcatcher
How to run the instance.
- Install virtualbox if you don't have it.
- Install vagrant if you don't have it.
- Clone the project into a new folder and remove the .git folder references.
git clone [email protected]:arumals/vagrant-lamp.git project-name cd project-name rm -rf .git
- Run vagrant
vagrant up
, and wait for the the process to complete. - Open the url http://localhost:8080 and you'll see the "Hello World" message.
- A new mysql
root
user with aroot
password is ready to be use (phpadmin is installed over http://localhost:8080/phpmyadmin). - A new mailcatcher instance is accesible in http://localhost:2525 you can redirect your smtp traffic there using these settings inside the code of your project.
smtp: 127.0.0.1 port: 1025
- Add/remove/replace files inside the
public
folder (this contains your project's files). - Keep this instance closed when is not in use by doing...
vagrant halt
By doing vagrant ssh
you can access the ubuntu shell and do any change needed.