Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 899 Bytes

README.md

File metadata and controls

40 lines (24 loc) · 899 Bytes

repo1

Sample web app for demos.

Web app to managed Contact info. Uses Apache HTTP with PHP and MySQL database.

Below are the steps to setup on Ubuntu

Install MySQL database

You can install MySQL database, use an existing MySQL database or use a Platform as a Service (PaaS) database from any of the Cloud Providers.

To install, execute below steps

  1. Update and install package
sudo apt update -y && sudo apt install -y mariadb-server

Install Apache HTTP server, PHP and PHP MySQL connector

  1. Update, install git and clone this repository
sudo apt update -y && sudo apt install -y git
cd /tmp ; git clone https://github.com/nindate/repo1.git
  1. Run deploy.sh to install apache, php, create necessary database tables in target database, update code with database details and deploy code to /var/www/html
cd repo1 ; bash deploy.sh