shopping-list/README.md

49 lines
1.7 KiB
Markdown
Raw Normal View History

# Shoutout!
We Use BrowserStack for cross browser testing, as it provides full testing capabillities within one application.
[ ![BrowserStack](https://live.browserstack.com/favicon.ico) BrowserStack](https://www.browserstack.com)
# Recomendations
We strongly recomment to use a ` utf8mb4 ` database collation, as it has the best compatibillity with smileys and other non standard symbols. (You can't tell the enduser, that they can't use smileys. Trust me, I tried.)
2018-10-26 18:37:02 +02:00
# Requirements
## Apache Modules:
* mod-rewrite
2018-10-24 15:00:27 +02:00
## Packages
* php7
* php7-mysql
2018-10-26 18:37:02 +02:00
# Sample Apache Config
2018-10-24 15:00:27 +02:00
```apache
<VirtualHost *:80>
2018-10-26 18:37:02 +02:00
ServerAdmin webmaster@localhost
ServerName shopping.example.com
2018-10-24 15:00:27 +02:00
2018-10-26 18:37:02 +02:00
DocumentRoot /var/www/html/shopping-list
<Directory /var/www/html/shopping-list>
2018-10-24 15:00:27 +02:00
2018-10-26 18:37:02 +02:00
AllowOverride All
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
2018-10-24 15:00:27 +02:00
</VirtualHost>
```
2018-10-26 18:37:02 +02:00
# 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!