Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/librecodecoop/wordpress-docker
https://github.com/librecodecoop/wordpress-docker
mysql php php56 php8 wordpress
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/librecodecoop/wordpress-docker
- Owner: LibreCodeCoop
- Created: 2021-07-20T21:24:26.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-20T20:24:39.000Z (2 months ago)
- Last Synced: 2024-09-29T19:23:02.998Z (about 2 months ago)
- Topics: mysql, php, php56, php8, wordpress
- Language: Dockerfile
- Homepage:
- Size: 53.7 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Wordpress
[It will be necessary to have the docker installed in its operating system to execute this project.](https://docs.docker.com/get-docker/)
## Setup
### Production
After clone:
```bash
docker compose build
docker network create mariadb
docker compose up -d
```### Development
```bash
wp search-replace --all-tables --report-changed-only localhost
wp search-replace --all-tables --report-changed-only https://localhost http://localhost
wp user reset-password --show-password --skip-email
```## Update
```bash
docker compose exec --user www-data wordpress wp core update
docker compose exec --user www-data wordpress wp core update-db
docker compose exec --user www-data wordpress wp plugin update --all
docker compose exec --user www-data wordpress wp language core update
docker compose exec --user www-data wordpress wp language plugin update --all
docker compose exec --user www-data wordpress wp theme update --all
```* [Ambiente de desenvolvimento](docs/ambiente-dev-local.md)
* [Atualização de versão de WordPress e plugins](docs/atualizacao.md)## Checking if have files changed at core
You need to put the `.git` folder of current version of WordPress at root directory of current site and run `git status`
```bash
git clone --progress -b --single-branch --depth 1 https://github.com/WordPress/WordPress.git
mv WordPress/.git volumes/wordpress
rm -rf WordPress
cd volumes/wordpress
git status
```