summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2018-08-30 15:41:16 +0200
committerIgor Scheller <igor.scheller@igorshp.de>2018-08-30 15:53:37 +0200
commit9d9aa71eb736885f23c069a75c7a047b06434178 (patch)
tree4adb52cc387b6c61b5f54565abe362f9dedc26a3 /README.md
parent5456fea5031000a6325cdcae5f1e9d4c16b6ed50 (diff)
Installation: Added migrations for install.sql and update.sql files
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 6 insertions, 1 deletions
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/).