more fixtures and installation docu

This commit is contained in:
Kevin Papst
2016-10-20 23:19:06 +02:00
parent 3702bd5400
commit 0924573af0
2 changed files with 36 additions and 4 deletions

View File

@@ -29,6 +29,21 @@ $ cd kimai2/
$ composer install
```
This was the basic task of the installation. If you have not yet setup a database, you
can create it and import example data by executing these commands:
```bash
$ cd kimai2/
$ php bin/console doctrine:database:create
$ php bin/console doctrine:schema:create
$ php bin/console doctrine:fixtures:load
```
If you have imported the example data, you can login with two accounts:
- Username: *clara_customer* / Password: *kitten* / Role: Customer
- Username: *john_user* / Password: *kitten* / Role: User
- Username: *tony_teamlead* / Password: *kitten* / Role: Teamlead
- Username: *anna_admin* / Password: *kitten* / Role: Administrator
Usage
-----