Start WordPress in docker with only 2 commands
You need to have docker and docker compose installed.
If you don't have them, see here first.
$ git clone git@github.com:SpiralOutDotEu/docker-wordpress.git
$ cd docker-wordpress && docker-compose up
You are ready!Go to 0.0.0.0:8000 and start building your WordPress site.
Go to 0.0.0.0:8081 and play with PhpMyAdmin.
You credentials for phpMyAdmin is what you declared in
docker-compose.yml
MYSQL_ROOT_PASSWORD: wordpress
MYSQL_DATABASE: wordpress
MYSQL_USER: wordpress
MYSQL_PASSWORD: wordpress
If you want to manually edit your files, first you have to change the permisions to html folder:$ sudo chmod -R 777 html
You want to move or share your project?
Just share the entire folder. It has the source code in html folder and the full database with it in mysql folder.
Have fun!