Composer updates (#165)

* updated composer dependencies
* updated README about composer install
This commit is contained in:
Kevin Papst
2018-06-18 23:13:29 +02:00
committed by GitHub
parent bfa32a90db
commit 856e7ccaeb
3 changed files with 117 additions and 115 deletions

View File

@@ -34,16 +34,16 @@ git clone https://github.com/kevinpapst/kimai2.git
cd kimai2/
```
The next steps depend in which environment you want to use Kimai, you can choose between development or production mode.
### Installation (development)
Lets prepare the environment by installing all dependencies:
```bash
composer install
```
The next steps depend in which environment you want to use Kimai, you can choose between development or production mode.
### Installation (development)
The default installation uses a SQLite database, so there is no need to create a database for your first tests.
Our default settings will work out-of-the-box, but you might want to adjust the `.env` values to your needs.
You can configure your database through your environment (e.g. Webserver, Cloud-Provider) or in your `.env` file:
@@ -106,6 +106,12 @@ npm run prod
### Installation (production)
Lets prepare the environment by installing all dependencies:
```bash
composer install --no-dev
```
Make sure the [directories are read and writable by your webserver](https://symfony.com/doc/current/setup/file_permissions.html):
```bash
chown -R www-data var/