/sokka

:credit_card::calling: A modern ordering system for restaurants to mitigate food waste

Primary LanguageDartGNU General Public License v3.0GPL-3.0

Sokka


Sokka Logo

Sokka

A modern ordering and payment system for canteens and restaurants.
Releases · Thesis

About the project

Sokka is a diploma project created by students Joshua Winkler and Nicolaus Rossi of the higher technical college HTL Innsbruck Anichstraße in the department of industrial engineering. The project is supervised by software engineering professor Sabo Rubner.

Installation

Setup

Clone the repository.

git clone https://github.com/htl-anichstrasse/sokka.git

Change the Docker container names, VIRTUAL_HOST, NGINX_HOST & LETSENCRYPT_HOST settings for all containers to use the domain name you want Sokka to use. Once you're ready, simply run the start script with the build flag. It is currently not possible to change the Sokka brand via configuration. You may however fork this repository and replace Sokka logos with your corporate logo.

./start.sh build

Please note that you might have to adjust file permissions first.

chmod +x start.sh
chmod +x build.sh
chmod +x stop.sh

Configuration

Make sure to change the MySQL default root password after setup. This can be done by logging in to the phpMyAdmin page (see NGINX_HOST environment variable for the PMA Docker container), clicking on User accounts, then Edit privileges for the root user account and then on Change password.

phpMyAdmin Change Password Screenshot

After setting a new MySQL password, create needed Docker Secrets. Docker loads the secrets from ./secrets, so simply create a folder called 'secrets' in the root folder of the project and create text files referenced in docker-compose.yml with the corresponding contents.

Besides MySQL login data, you will also need to create Docker Secrets for a Gmail login used by the verification service. For that, you will need to create an app password by clicking here or by following this guide. After you have obtained your app password, simply set the password and the email corresponding to the password as a Docker Secret.

Contact

If you have any questions about this project, please feel free to contact us.

Nicolaus Rossi - nico@sokka.me
Joshua Winkler - josh@sokka.me
HTL Anichstraße - htlinn@tsn.at