added installation instructions

This commit is contained in:
Matthias Kalb 2018-10-26 18:37:02 +02:00
parent a8bd51e96c
commit c39feaf660

View file

@ -1,17 +1,21 @@
# Voraussetzungen
## Apache Moduls:
* php-rewrite
# Requirements
## Apache Modules:
* mod-rewrite
## Packages
* php7
* php7-mysql
# Beispiel Apache Config
# Sample Apache Config
```apache
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName shopping.example.com
DocumentRoot /var/www/html/shopping-list
<Directory /var/www/html/shopping-list>
AllowOverride All
</Directory>
@ -19,6 +23,18 @@
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
```
# Installation
Um die Installation zu starten folgende Seite aufrufen:
[HOSTNAME]/install/install.php
# Installation Instructions
* create a new mysql-database. Please use `utf8_general_ci` as your collation.
* create a new mysql-user that can edit the database.
* Download the latest release. You can download it [here (tar.gz)](https://gitlab.com/bluekay/shopping-list/-/archive/master/shopping-list-master.tar.gz) or [here (zip)](https://gitlab.com/bluekay/shopping-list/-/archive/master/shopping-list-master.zip)
* unpack the archive and copy its content to `/var/www/html/shopping-list`
* grant your web server permission to write the config-file
```bash
chown www-data:www-data /var/www/html/shopping-list/config/config.php
```
* visit the address of your web browser, you will be redirected to the installation page
* insert your database information and create your login user
* thats it, you are good to go. You may login now!