You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-5Lines changed: 14 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,27 +65,36 @@ The browser-sync user interface is accessible via ``localhost:3002``.
65
65
If you want to watch another or your own custom wordpress theme, change the settings in ``my-wp-project/gulp/config.yml`` and restart with ``gulp serve``.
66
66
<br><br>
67
67
68
-
## manage database
68
+
## Manage database
69
69
You can share a database dump within your repo, so you can sync development with your team mates.
70
70
#### export your database to ./data/db/dump.sql
71
71
``./scripts/db-export.sh``
72
72
73
73
#### import data from ./data/db/dump.sql
74
74
``./scripts/db-import.sh``
75
+
<br><br>
75
76
76
-
## manage container
77
+
## Manage container
77
78
#### start web, db, php and browsersync container
78
-
``./scripts/run.sh`` Note: *At the first line ip and port for web container access will be printed.*
79
+
``./scripts/run.sh``
80
+
<br>
81
+
Note: *At the first line ip and port for web container access will be printed.*
79
82
80
83
#### login to a container
81
-
``docker-compose run web bash`` Note: *Web, db, php and browsersync are available.*
84
+
``docker-compose run web bash``
85
+
<br>
86
+
Note: *Web, db, php and browsersync are available.*
82
87
83
88
#### container log files
84
-
``docker-compose logs web`` Note: *Web, db, php and browsersync are available.*
89
+
``docker-compose logs web``
90
+
<br>
91
+
Note: *Web, db, php and browsersync are available.*
85
92
86
93
#### delete all containers
87
94
Attention: your database will be removed, ensure you dumped it(see above).
95
+
88
96
``./scripts/clean.sh``
97
+
<br><br>
89
98
90
99
## livereload, browsersync, sass and coffee
91
100
Reloads your browser on code changes and compiles sass to css and coffee to javascript. [Read more](https://www.browsersync.io/).
0 commit comments