A one-click solution for running a LAMP (Linux, Apache, MySQL, PHP) development environment on Gitpod with live reloading support.
Note: This repository is a fork of nachovz/wordpress-gitpod-one-click.
This project provides a pre-configured LAMP stack that runs entirely within Gitpod's cloud-based IDE. It includes Apache, MySQL, and PHP with hot-reloading powered by BrowserSync and Webpack, allowing you to develop and preview PHP websites instantly in your browser without any local setup.
- One-click Gitpod workspace launch with a full LAMP stack
- Pre-configured Apache, MySQL, and PHP environment
- Live reloading via BrowserSync and Webpack for PHP and HTML files
- Custom Gitpod Dockerfile based on the
gitpod/workspace-mysqlimage - Split-pane editor and preview layout in Gitpod
- A Gitpod account (free tier available)
- A web browser
- Fork this repository to your own GitHub account.
- Open the repository in Gitpod by prefixing the URL with
gitpod.io/#:gitpod.io/#https://github.com/YOUR-USERNAME/simple-lamp-website-gitpod - Gitpod will automatically build the Docker image, install dependencies, and start the server.
- Once the workspace loads, a preview pane will open showing the default
index.phppage. - Place your website files (HTML, PHP, CSS, JS) in the
public/directory. - Changes to files in the
public/directory are automatically detected, and the browser preview refreshes via BrowserSync.
| Technology | Purpose |
|---|---|
| PHP | Server-side scripting |
| Apache | Web server |
| MySQL | Database |
| Webpack | Build tooling and live reload |
| BrowserSync | Browser auto-refresh on file changes |
| Gitpod | Cloud-based development environment |
This project is licensed under the MIT License. See the LICENSE file for details.