Skip to content

Commit a5e8a3e

Browse files
committed
update README with more detailled instrucitons
1 parent 5dfb1d6 commit a5e8a3e

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,21 @@ it use mariadb, and wordpress fpm / linux alpine docker images.
2323

2424
the user and database will be set in mariadb and wordpress automatically.
2525

26+
- Create the diectory src:
27+
28+
````` bash
29+
«mkdir src
30+
`````
31+
2632
- The directories:
27-
- src: Here should be the wordpress code, if you left empty a new wordpress installation will be automatically installed. usefull for dev templates and/or plugins or you can fill this directory with your entire worpress site, it will run automatically and your wp-comfig file will be automatically update with the values from .env file.
33+
- src: Here should be the wordpress code, if you left empty a new wordpress installation will be automatically installed. usefull for dev templates and/or plugins. or you can fill this directory with your entire worpress site, it will run automatically and your wp-comfig file will be automatically update with the values from .env file.
2834

2935
- db_dump: here you can put a sql file containing your site, this file will be automatically apply at first run. really practique for charge a database copy from your site.
3036

3137
- db_data: this will be automatically fill by mariadb with the database data. practique for deep database debug and preserve database data.
3238

3339
## RUN
34-
Mariadb image need a moment for start running create the database, user and apply the sql files. So for prevent errors the first UP I recommend start mariadb service, waith a 5 minutes (you can see at db_data directory when your database is complete charge) and after run wordpress service.
40+
Mariadb image need a moment for start running create the database, user and apply the sql files. So for prevent errors during the first UP I recommend start mariadb service first, waith a 5 minutes (you can see at db_data directory when your database is complete charge) and after run wordpress service.
3541

3642
`````
3743
docker-compose up -d mariadb
@@ -45,6 +51,13 @@ docker-compose up -d wordpress
4551

4652
Done, you're ready for use this dev enviroment for create amazing wordpress things!!
4753

54+
The next times you can run both containers at the same time, just use
55+
56+
`````
57+
docker-compose up -d
58+
`````
59+
60+
4861

4962

5063

0 commit comments

Comments
 (0)