From 3bdf0dc6a63532be466320653251894749978dca Mon Sep 17 00:00:00 2001 From: Kevin Papst Date: Thu, 28 Jun 2018 23:44:02 +0200 Subject: [PATCH] composer package name (#185) --- README.md | 18 +++++++++--------- composer.json | 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 5ddcbabc..4ade7ed5 100644 --- a/README.md +++ b/README.md @@ -113,24 +113,24 @@ 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/ chmod -R 777 var/ ``` -The database to use is up to you, but we would not recommend using the default SQLite database for production usage. -Please create your database and configure the connection string in your environment, e.g. with the `.env` file: +The database is up to you, but we would not recommend using the default SQLite database for production usage. +Please create your database and configure the connection string in your environment, e.g. with the `.env` file (more examples in `.env.dist`): ``` APP_ENV=prod -DATABASE_URL=mysql://db_user:db_password@127.0.0.1:3306/db_name APP_SECRET=insert_a_random_secret_string_for_production +DATABASE_URL=mysql://db_user:db_password@127.0.0.1:3306/db_name +``` + +After activating `prod` environment you can prepare the environment by installing all dependencies: + +```bash +composer install --no-dev ``` Create the database schemas and warm up the cache (as webserver user): diff --git a/composer.json b/composer.json index ed90aa88..c82c3529 100644 --- a/composer.json +++ b/composer.json @@ -1,8 +1,8 @@ { - "name": "kimai/kimai", + "name": "kevinpapst/kimai2", "license": "MIT", "type": "project", - "description": "Kimai Time Tracking reloaded", + "description": "Kimai Time-Tracking 2", "require": { "php": "^7.1.3", "ext-pdo_sqlite": "*",