From 3494fe491d24946595aa478a395449e037120e6b Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sat, 25 Nov 2017 13:58:55 +0100 Subject: [PATCH] some more hints for the installation --- README.md | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 60b4f25e..65dcca48 100644 --- a/README.md +++ b/README.md @@ -2,20 +2,26 @@ ## Installing -### 1. Initialize the database +### 1. Copy configuration + +Copy the `htconfig.php` to `.htconfig.php` and enter the database credentials. + +### 2. Initialize the database Create a database with a username and a password. Then import ````dfrndir.sql```` to it. -### 2. Create an autoloader with composer + mysql -u YOURDBUSER -p YOURDBNAME < dfrnlr.sql -Make sure you have composer installed globally, or rewrite the command to use a `.phar`. +### 3. Create an autoloader with composer + +Make sure you have [composer](https://getcomposer.org/download/) installed globally, or rewrite the command to use a `.phar`. ```sh composer dump-autoload ``` -### 3. Set up the cronjobs. +### 4. Set up the cronjobs. Example cronjob using `www-data` user. @@ -128,4 +134,4 @@ If you already had data in your profile table, you will need to rebuild the inde ```` REPAIR TABLE `profile` QUICK; -```` \ No newline at end of file +````