Tweak docs
This commit is contained in:
parent
1baff323a4
commit
b1883e0c85
25
README.md
25
README.md
@ -1,8 +1,25 @@
|
|||||||
1. Clone this repository
|
# wordpress-bedrock-docker
|
||||||
2. Copy `src/.env.example` to `src/.env`
|
|
||||||
3. Run `cd src && composer install`
|
A template for a Wordpress site using Bedrock (Composer) + Docker.
|
||||||
4. Run `docker-compose up`
|
|
||||||
|
Based on [`autonomic-cooperative/wordpress-docker-composer`](https://git.autonomic.zone/autonomic-cooperative/wordpress-docker-composer)
|
||||||
|
|
||||||
NB.
|
NB.
|
||||||
* If you import a database from a live site, you will have to change the upload path (in Settings->Media) to `/app/web/app/uploads`
|
* If you import a database from a live site, you will have to change the upload path (in Settings->Media) to `/app/web/app/uploads`
|
||||||
* Debug log is here: `./src/web/app/debug.log`
|
* Debug log is here: `./src/web/app/debug.log`
|
||||||
|
|
||||||
|
|
||||||
|
## Quick start
|
||||||
|
|
||||||
|
1. Create a new repository in Gitea, using this repository as a template
|
||||||
|
2. Clone the new repository
|
||||||
|
3. Copy `src/.env.example` to `src/.env`
|
||||||
|
4. Run `docker-compose up`
|
||||||
|
|
||||||
|
You should now be able to access the local site on http://localhost
|
||||||
|
|
||||||
|
## Deployment
|
||||||
|
|
||||||
|
### Initial set-up
|
||||||
|
|
||||||
|
### Auto-deployment
|
||||||
|
Reference in New Issue
Block a user