A boilerplate for the creation of a complete journal system with backend, frontend, PWA and apps.
- docker https://docs.docker.com/install/
- docker-compose https://docs.docker.com/compose/install/#install-compose
docker build -t myjournal:wp-dev -f Dockerfile_wp-dev .
docker-compose up -d
- WP:
docker exec -u www-data -it wp /bin/bash
- DB:
docker exec -u www-data -it db /bin/bash
If you want tu use shell without limit use:
- WP:
make ssh container=wp
- DB:
make ssh container=db
Inside wp
run the following commands:
cd /var/www/html
make build
This command will create an empty wp project
- URL: http://localhost
- Admin: http://localhost/wp-admin
- Username:
admin
- Password:
admin
- Username:
docker-compose stop && docker-compose rm