@@ -11,10 +11,9 @@ b) allow doing full-fledged performance testing, comparing results across many d
1111** * Work In Progress ** *
1212
1313Broad advancement status:
14- - command-line interface to execute SQL snippets on multiple databases and compare results: mostly done.
15- Major missing features: proper support for character sets
14+ - command-line interface to execute SQL snippets on multiple databases and compare results: basically done
1615- database support: good coverage. Of the 'well-known players', only Oracle is missing
17- - GUI interface: displays documentation and the list of databases. It also includes Adminer for db management, but
16+ - GUI interface: displays documentation and the list of databases. It also includes Adminer for db management, but it
1817 does not allow parallel execution of queries
1918
2019See the [ TODO] ( ./doc/TODO.md ) and [ CHANGELOG] ( ./doc/WHATSNEW.md ) files for more details on recent improvements and future plans.
@@ -44,20 +43,18 @@ In the meantime, you can try out http://sqlfiddle.com/
4443
4544## Quick Start
4645
47- NB: if you have no bash shell interpreter on your host computer, look at the end of this document for alternative instructions
46+ NB: if you don't have a bash shell interpreter on your host computer, look at the end of this document for alternative instructions
4847
4948### Installation
5049
5150 ./bin/stack.sh build
5251
5352* NB* : this will take a _ long_time. Also, a fast, unmetered internet connection will help.
5453
55- * NB* : if the user-id and group-id of the account that you are using on the host computer are not 1000:1000, edit
56- the file docker/containers.env.local _ before_ running the ` build ` command, and add in there correct values for
57- the CONTAINER_USER_UID and CONTAINER_USER_GID environment variables. More details in the file docker/containers.env.
58-
5954* NB* : the containers by default expose a web application on ports 80 and 443. If any of those ports are in use on
60- the host computer, please change variables COMPOSE_WEB_LISTEN_PORT_HTTP and COMPOSE_WEB_LISTEN_PORT_HTTPS in file .env
55+ the host computer, please change variables COMPOSE_WEB_LISTEN_PORT_HTTP and COMPOSE_WEB_LISTEN_PORT_HTTPS in file
56+ docker/.env
57+
6158
6259### Usage
6360
@@ -109,13 +106,17 @@ Last but not least, you have access to other command-line tools which can be use
109106
110107### Troubleshooting
111108
112- After starting the containers via ` docker-compose up -d ` , you can:
109+ After starting the containers via ` ./bin/stack.sh build ` , you can:
113110
114- - check if they are all running: ` docker-compose ps`
115- - check if they all bootstrapped correctly: ` docker-compose logs`
116- - check if one container bootstrapped correctly, eg: ` docker-compose logs db3v4l_postgresql_9_4 `
111+ - check if they are all running: ` ./bin/stack.sh ps`
112+ - check if they all bootstrapped correctly: ` ./bin/stack.sh logs`
113+ - check if a specific container bootstrapped correctly, eg: ` ./bin/stack.sh logs postgresql_9_4 `
117114- check the processes running in one container, eg: ` docker exec -ti db3v4l_postgresql_9_4 ps aux `
118115
116+ * NB* : if the ` stack.sh ` command fails, you can use ` docker ` and ` docker-compose ` commands for troubleshooting.
117+ See the section 'Alternative commands to stack.sh' below for examples.
118+
119+
119120### Maintenance
120121
1211223 scripts are provided in the top-level ` bin ` folder to help keeping disk space usage under control
@@ -128,6 +129,10 @@ See the [FAQ](./doc/FAQ.md) for more details
128129
129130## Alternative commands to stack.sh
130131
132+ The ` stack.sh ` command requires a working bash shell interpreter as well as a few, common unix command-line tools.
133+ In case those are not available on your platform (eg. if you are running DB-3v4l on Windows), or if ` stack.sh ` fails
134+ you can run alternative commands, as detailed here:
135+
131136 ./bin/stack.sh build => cd docker && touch containers.env.local && docker-compose build
132137 ./bin/stack.sh start => cd docker && docker-compose up -d
133138 ./bin/stack.sh shell => docker exec -ti db3v4l_worker su - db3v4l
@@ -137,6 +142,10 @@ See the [FAQ](./doc/FAQ.md) for more details
137142 docker exec -ti db3v4l_worker su - db3v4l
138143 php bin/dbconsole ...
139144
145+ * NB* : if the user-id and group-id of the account that you are using on the host computer are not 1000:1000, edit
146+ the file docker/containers.env.local _ before_ running the ` build ` command above, and add in there correct values for
147+ the CONTAINER_USER_UID and CONTAINER_USER_GID environment variables. More details in the file docker/containers.env.
148+
140149
141150## Thanks
142151
0 commit comments