mirror of
https://github.com/tim-krehan/shopping-list.git
synced 2024-11-23 22:30:41 +01:00
added installation instructions
This commit is contained in:
parent
a8bd51e96c
commit
c39feaf660
1 changed files with 30 additions and 14 deletions
44
README.md
44
README.md
|
@ -1,24 +1,40 @@
|
||||||
# Voraussetzungen
|
# Requirements
|
||||||
## Apache Moduls:
|
|
||||||
* php-rewrite
|
## Apache Modules:
|
||||||
|
* mod-rewrite
|
||||||
|
|
||||||
## Packages
|
## Packages
|
||||||
* php7
|
* php7
|
||||||
* php7-mysql
|
* php7-mysql
|
||||||
|
|
||||||
# Beispiel Apache Config
|
# Sample Apache Config
|
||||||
```apache
|
```apache
|
||||||
<VirtualHost *:80>
|
<VirtualHost *:80>
|
||||||
ServerAdmin webmaster@localhost
|
ServerAdmin webmaster@localhost
|
||||||
|
ServerName shopping.example.com
|
||||||
|
|
||||||
DocumentRoot /var/www/html/shopping-list
|
DocumentRoot /var/www/html/shopping-list
|
||||||
<Directory /var/www/html/shopping-list>
|
<Directory /var/www/html/shopping-list>
|
||||||
AllowOverride All
|
|
||||||
</Directory>
|
|
||||||
|
|
||||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
AllowOverride All
|
||||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
</Directory>
|
||||||
|
|
||||||
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||||
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
```
|
```
|
||||||
# Installation
|
|
||||||
Um die Installation zu starten folgende Seite aufrufen:
|
# Installation Instructions
|
||||||
[HOSTNAME]/install/install.php
|
|
||||||
|
* 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!
|
||||||
|
|
Loading…
Reference in a new issue