summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2018-08-30 16:07:50 +0200
committerIgor Scheller <igor.scheller@igorshp.de>2018-08-30 16:07:50 +0200
commit2bebbeb1919e1d370ac5c0668e0db5ea63e73292 (patch)
tree759d675b621eed86b20f14abe448e83fa8d22562 /README.md
parent175c335810817ff3e989f368889274d3f09c08b1 (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 afcc3462..960d6b6d 100644
--- a/README.md
+++ b/README.md
@@ -41,8 +41,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.
@@ -109,5 +109,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/).