Skip to content

Latest commit

 

History

History
153 lines (101 loc) · 2.5 KB

README.md

File metadata and controls

153 lines (101 loc) · 2.5 KB

GitHub License GitHub Actions Workflow Status GitHub branch check runs GitHub last commit

Kantine

Web interface displaying Kantine menus.

Written in PHP/Laravel and VueJS.

Screenshots:

Live preview

Kantine.menu

Menu view

Menu view

Pre-requisites

Deployment

Clone repository

git clone https://github.com/carsso/kantine.git

Copy default env file

cp .env.example .env

Fill the env file

vim .env

Install JS dependencies based on lock file

npm install

Build assets

npm run build

Install PHP dependencies based on lock file

composer install --no-interaction --prefer-dist --optimize-autoloader

Init Python virtual env

python3 -m venv scripts/
scripts/bin/pip3 install -r scripts/requirements.txt
scripts/bin/python3

Clear cache

php artisan optimize

Create the storage symbolic links

php artisan storage:link

Run queue worker

php artisan queue:listen

Development

Clone repository (main branch)

git clone [email protected]:carsso/kantine.git

Install PHP dependencies with Composer

composer install

Install JS dependencies with NPM

npm install

Copy default env file

cp .env.dev.example .env

Fill the env file

vim .env

Create the storage symbolic links

php artisan storage:link

Init Python virtual env

python3 -m venv scripts/
scripts/bin/pip3 install -r scripts/requirements.txt
scripts/bin/python3

Build js and css files automatically while developing

npm run dev

Run queue worker

php artisan queue:listen

License

  • This project is licensed under the MIT License - see the LICENSE file for details.
  • The Laravel framework is open-sourced software licensed under the MIT license.