A Simple LAMP Stack for Local Development with Vagrant

v 4.0.0

To install

git clone https://github.com/plutinolabs/merlot my-project
cd my-project
vagrant up

Merlot includes the following components

Ubuntu 23.04 Apache 2.4.55 PHP 8.1.12 phpMyAdmin 5.2.1
MYSQL 8.0.33 PostreSQL 15.2 SQLITE 3.40.1 COMPOSER 2.5.5
WP-CLI 2.7.1 NODEJS 18.16.0 RUBY 3.1.2 PHP Unit 9.5.28
REDIS 7.0.8 MailHog

Getting started with Merlot

Clone repository

Run the above commands in terminal (Mac/Linux) or command prompt (Windows).

More information about Vagrant can be found here.

Open browser
Start Developing

Place all your files in the public folder to vew your creation

Accessing the database

There are 2 ways to connect to the databases in Merlot - via web client or a desktop client

Via a web client

MySQL has web a client built into Merlot.

Visit http://192.168.56.10/phpmyadmin/ for MySQL

Login with
Username: root
Password: root

An empty database called merlot has already been created for you

Via a desktop client

You can use an application such as Sequel Pro or MySQl Workbench (for MySQL), DBeaver (for PostreSQL) to connect to your database

Whatever you use, select SSH as the connect method with the following settings

SSH Host 192.168.56.10
SSH User vagrant
SSH Password vagrant
SSH Port 22
MySQL Host 127.0.0.1
MySQL User root
MySQL Password root
MySQL Database merlot
PostreSQL Host 127.0.0.1
PostreSQL User root
PostreSQL Password root
PostreSQL Database merlot
PostreSQL Port 5432

Accessing Mailhog

Thanks to Scotch Box for inspiring this project.