Skip to content

Commit c7fd684

Browse files
committed
docs
1 parent 05f6bbc commit c7fd684

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,9 @@ See the section 'Alternative commands to dbstack' below for examples.
140140

141141
### Maintenance
142142

143-
3 scripts are provided in the top-level `bin` folder to help keeping disk space usage under control
143+
The `./bin/dbstack cleamup` command is provided to help keeping disk space usage under control. It can remove the
144+
log files produced by running the application, as well as the complete set of database data files.
145+
144146

145147
### How does this work?
146148

@@ -151,7 +153,7 @@ Docker is used to run the app:
151153
- each db instance runs in a dedicated container (except SQLite)
152154
- one container runs the web interface
153155
- one container runs the command-line tools which connect to the databases
154-
- one container runs Adminer, a separate, self-contained db administration app, also written in php
156+
- one container runs Adminer, a separate, self-contained db administration web app, also written in php
155157

156158
Docker-compose is used to orchestrate the execution of the containers, ie. start, stop and connect them.
157159

@@ -165,7 +167,7 @@ from the `dbconsole`.
165167
This design has the following advantages:
166168

167169
- parallel execution of queries across all database instances to reduce the total execution time
168-
- it does not let the warts of php database-connectors influence the results of query execution
170+
- it does not let the warts of the php database-connectors influence the results of query execution
169171
- it can easily expand to run queries on multiple database types, even those not supported by php
170172

171173
On the other hand it comes with some serious drawbacks as well, notably:

doc/TODO.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@
103103

104104
- build:
105105
+ while setting up symfony, have the web site show up a courtesy page
106-
+ when there are no db data files, dbstack should wait for the db instances to be fully ready...
106+
+ allow dbstack to download and install docker-compose if it is not found
107+
+ when there are no db data files, dbstack & dbconsole should wait for the db instances to be fully ready...
107108
(use docker native status monitoring to achieve this?)
108109
+ add a composer post-upgrade script that downloads automatically the latest version of adminer or at least checks it
109110
+ run security-checker as part of composer post-install and post-upgrade?

doc/WHATSNEW.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Version 0.10
22
------------
33

4-
- Breaking change: renamed `stack.sh` to `dbstack`
4+
- Breaking change: renamed `stack.sh` script to `dbstack`
55

66
- Breaking change: removed `cleanup-databases.sh`, `cleanup-docker-images.sh`, and `cleanup-logs.sh` - the functionality
77
of these scripts has been added to `dbstack`

0 commit comments

Comments
 (0)