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
- Update and install package
sudo apt update -y && sudo apt install -y mariadb-server
Install Apache HTTP server, PHP and PHP MySQL connector
- 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
- 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