Skip to content

danielcregg/simple-lamp-website-gitpod

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

174 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple LAMP Website on Gitpod

PHP HTML5 JavaScript License: MIT

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.

Overview

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.

Features

  • 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-mysql image
  • Split-pane editor and preview layout in Gitpod

Prerequisites

  • A Gitpod account (free tier available)
  • A web browser

Getting Started

Installation

  1. Fork this repository to your own GitHub account.
  2. Open the repository in Gitpod by prefixing the URL with gitpod.io/#:
    gitpod.io/#https://github.com/YOUR-USERNAME/simple-lamp-website-gitpod
    
  3. Gitpod will automatically build the Docker image, install dependencies, and start the server.

Usage

  1. Once the workspace loads, a preview pane will open showing the default index.php page.
  2. Place your website files (HTML, PHP, CSS, JS) in the public/ directory.
  3. Changes to files in the public/ directory are automatically detected, and the browser preview refreshes via BrowserSync.

Tech Stack

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

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

A one-click LAMP (Linux, Apache, MySQL, PHP) development environment on Gitpod with live reloading support

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 74.4%
  • PHP 25.6%