Skip to content

Commit e56c6ff

Browse files
authored
Update README.md
1 parent d776983 commit e56c6ff

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

docs/README.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,19 @@ Screenshots
1717
Installation
1818
------------
1919

20-
1. `git clone` current repository somewhere in the cloud or on your local machine.
21-
2. Be sure to have PHP >= 7.2 with [MongoDB extension](https://www.php.net/manual/en/mongodb.installation.php) enabled in this environment.
22-
3. Run `composer install` at project's root directory to install all PHP dependencies.
23-
4. Optionnaly, if you want to query DB with SQL, you must have [Java JDK](https://jdk.java.net/) installed...
20+
### Docker (PHP built-in server)
21+
1. Run once `docker build -t mongodb-php-gui .` at project's root directory.
22+
2. Run `docker run -it -p 5000:5000 mongodb-php-gui` at project's root directory.
23+
3. Open your browser at this address: http://127.0.0.1:5000/ to access GUI.
2424

2525
### Apache HTTP server
26-
27-
- Clone current repository in Apache Web root directory or setup a virtual host.
28-
- Check that `rewrite_module` module is enabled in your Apache configuration.
29-
- Be sure to have `AllowOverride All` in your Apache (virtual host) configuration.
26+
1. Clone current repository in Apache Web root directory or setup a virtual host.
27+
2. Be sure to have PHP >= 7.2 with [MongoDB ext.](https://www.php.net/manual/en/mongodb.installation.php) enabled.
28+
3. Check that `rewrite_module` module is enabled in your Apache configuration.
29+
4. Be sure to have `AllowOverride All` in your Apache (virtual host) configuration.
30+
5. Run `composer install` at project's root directory to install all PHP dependencies.
31+
6. Optionnaly, if you want to query DB with SQL, you must have [Java JDK](https://jdk.java.net/) installed.
32+
7. Open your browser at Apache server URL to access GUI.
3033

3134
Thanks
3235
------

0 commit comments

Comments
 (0)