From 9d9aa71eb736885f23c069a75c7a047b06434178 Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Thu, 30 Aug 2018 15:41:16 +0200 Subject: Installation: Added migrations for install.sql and update.sql files --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index d56603a5..5bb0398a 100644 --- a/README.md +++ b/README.md @@ -32,8 +32,8 @@ To report bugs use [engelsystem/issues](https://github.com/engelsystem/engelsyst * Recommended: Directory Listing should be disabled. * There must a be MySQL database created with a user who has full rights to that database. - * It must be created by the db/install.sql and db/update.sql files. * If necessary, create a config/config.php to override values from config/config.default.php. + * To import the database the `bin/migrate` script has to be called. * In the browser, login with credentials admin:asdfasdf and change the password. Engelsystem can now be used. @@ -79,5 +79,10 @@ The `bin/deploy.sh` script can be used to deploy the engelsystem. It uses rsync For usage see `./bin/deploy.sh -h` +##### bin/migrate +The `bin/migrate` script can be used to import and update the database of the engelsystem. + +For more information on how to use it call `bin/migrate help` + ### Codestyle Please ensure that your pull requests follow [PSR-2](http://www.php-fig.org/psr/psr-2/) and [PSR-4](http://www.php-fig.org/psr/psr-4/). -- cgit v1.2.3-70-g09d2