A small self-service shop system for lunch orders in the office.
- Support for multiple merchants and stores
- Order priorities
- Automated direct debit (via bank-app)
- Jabber service
- PHP 5.6+
- Install the PHP GD extension:
apt-get install php5-gd
- Install Composer in the project directory:
curl -sS https://getcomposer.org/installer | php
- Install dependencies:
php composer.phar update
-
Create a new config file called 'config.php'. You can use 'config.example.php' as a template.
-
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
- Restart Apache:
service apache2 restart