Clean WordPress installation from scratch.
Explore the docs »
Project Link
·
Report Bug
·
Request Feature
Table of Contents
This is a useful project that integrates all tools to get a clean and easy-to-use WordPress installation from scratch.
To get your WordPress installation running follow these simple steps.
- Clone the repo
git clone https://github.com/cosimoscarcella/wordpress-installer.git
- Go into the created folder
cd ./wordpress-installer find . -type f -iname "*.sh" -exec chmod +x {} \;
- Modify passwords and variables inside
.env
file as you wish - Run shell command
sh wp-install.sh
- Your WordPress installation is now available at http://localhost:8080
- PhpMyAdmin installation is now available at http://localhost:3000
- Run shell command
sh wp-uninstall.sh
- Use
-h | --help
option for further information
- Run shell command
sh wp-init.sh
- Your Wordpress installation in now initialized using wp-cli according to
./bin/install-wp.sh
file
- Run shell command
to execute your custom wp-cli commands. For example
sh wp-cli.sh "<command>"
./wp-cli.sh "wp db export -" > dump.sql
to export wordpress database
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
👤 Cosimo Scarcella
- Twitter: @ScarcellaCosimo
- Github: @cosimoscarcella
- 📧 Mail: [email protected]
- https://stackoverflow.com/questions/50999848/how-to-run-wp-cli-in-docker-compose-yml
- https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-docker-compose
- https://github.com/nezhar/wordpress-docker-compose/blob/master/docker-compose.yml
- https://github.com/chriszarate/docker-compose-wordpress