Clone this repository( git must be installed in your system ) git clone https://github.com/srbharath/wordpress-task.git
cd wordpress-task
chmod +x create-wordpress-site.sh
sh create-wordpress-site.sh example.com
- it will check whether the docker and docker-compose is installed or not, if it is not installed it will install both
- it will create a directory called example.com and it will create docker-compose file inside this directory
- This docker-compose file will run and our wordpress site will be running
Open Browser and search localhost/example.com { if you using aws ec2 paste server ip insted of localhost }
sh disable-wordpress-site.sh example.com