Skip to content

Latest commit

 

History

History
56 lines (36 loc) · 877 Bytes

README.md

File metadata and controls

56 lines (36 loc) · 877 Bytes

Shop

A small self-service shop system for lunch orders in the office.

Features:

  • Support for multiple merchants and stores
  • Order priorities
  • Automated direct debit (via bank-app)
  • Jabber service

Screenshots

Shop Screenshot

Requirements

  • PHP 5.6+

Installation

  1. Install the PHP GD extension:
apt-get install php5-gd
  1. Install Composer in the project directory:
curl -sS https://getcomposer.org/installer | php
  1. Install dependencies:
php composer.phar update
  1. Create a new config file called 'config.php'. You can use 'config.example.php' as a template.

  2. Set up mod_rewrite and mod_alias rules:

RewriteEngine on
RewriteRule ^/?$ /app/login [R,L]
RewriteRule /app/.* /app.php [L]

Alias /vendor /home/shop/shop-app/vendor
  1. Restart Apache:
service apache2 restart