some more hints for the installation #35

Merged
tobiasd merged 1 commit from 20171125-installsteps into master 2017-11-25 14:36:22 +01:00

View file

@ -2,20 +2,26 @@
## Installing ## 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. Create a database with a username and a password.
Then import ````dfrndir.sql```` to it. 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 ```sh
composer dump-autoload composer dump-autoload
MrPetovan commented 2017-11-25 14:01:48 +01:00 (Migrated from github.com)
Review

We ship a version of composer.phar in util as well.

We ship a version of `composer.phar` in `util` as well.
tobiasd commented 2017-11-25 14:03:55 +01:00 (Migrated from github.com)
Review

of the directory?

of the directory?
MrPetovan commented 2017-11-25 14:36:09 +01:00 (Migrated from github.com)
Review

Ha ha ha, I didn't realize this was the directory, never mind!

Ha ha ha, I didn't realize this was the directory, never mind!
``` ```
### 3. Set up the cronjobs. ### 4. Set up the cronjobs.
Example cronjob using `www-data` user. Example cronjob using `www-data` user.