-
Notifications
You must be signed in to change notification settings - Fork 5
Home
Bryan Littlefield edited this page May 22, 2024
·
7 revisions
Built on top of the official Docker repositories for php and MySQL, these preconfigured containers should have everything you need to start your next php website or application. If the project requires further configuration dont sweat it, TUGBOAT can be extended to provided access to additional packages and configurations to the environment.
- Install Docker
- Clone TUGBOAT into an empty directory using :
git clone https://github.com/bryanlittlefield/TUGBOAT .
- Update to
.env
to configure the Environment to your liking - Using a terminal, navigate to the directory you cloned TUGBOAT into and run
docker compose up -d
- Visit
127.0.0.1
or your Remote IP/FQDNxxx.xx.xx.xxx
| The web root is located locally in/var/www/html
of your TUGBOAT directory by default. This will sync into your virtual environment - Happy Coding!:beers:
More advanced access and configurations below.
The Web Container is where you will run things like
npm
,composer
,php
,laravel-mix
,wp-cli
, etc
You can access the DB quickly using PhpMyAdmin in TUGBOAT.
By default TUGBOAT includes a mailcatcher called Mailhog to capture emails sent by the env.