Find a file
Matthias Kalb 13482ab3cd Merge branch '13-Recipe-Styling' into 'develop'
added border arround recipe

See merge request bluekay/shopping-list!3
2018-10-26 17:56:46 +00:00
bin initial commit 2018-10-24 15:00:27 +02:00
config initial commit 2018-10-24 15:00:27 +02:00
cont added own font and some style changes 2018-10-26 12:30:27 +02:00
fonts added own font and some style changes 2018-10-26 12:30:27 +02:00
install removed unnessesary creation of a table 2018-10-26 19:42:57 +02:00
php added removal of expired sessions on check for valid session 2018-10-26 19:04:49 +02:00
pic initial commit 2018-10-24 15:00:27 +02:00
style added border arround recipe 2018-10-26 19:51:52 +02:00
.gitignore added gitignore 2018-10-26 11:15:46 +02:00
.htaccess fixed #12 2018-10-26 11:47:49 +02:00
AUTHORS initial commit 2018-10-24 15:00:27 +02:00
index.php initial commit 2018-10-24 15:00:27 +02:00
LICENSE initial commit 2018-10-24 15:00:27 +02:00
README.md added installation instructions 2018-10-26 18:37:02 +02:00
version.php initial commit 2018-10-24 15:00:27 +02:00

Requirements

Apache Modules:

  • mod-rewrite

Packages

  • php7
  • php7-mysql

Sample Apache Config

<VirtualHost *:80>
    ServerAdmin webmaster@localhost
    ServerName shopping.example.com

    DocumentRoot /var/www/html/shopping-list
    <Directory /var/www/html/shopping-list>

      	AllowOverride All
    </Directory>

    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

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) or here (zip)

  • unpack the archive and copy its content to /var/www/html/shopping-list

  • grant your web server permission to write the config-file

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!