nihn / restaurant

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Restaurant

Simple Django project which simulates some restaurant web app. Currently only menu app is implemented.

Installing

You will need Docker and Docker-compose. With these two present type docker-compose build.

Running application

Type docker-compose up, app will be available on localhost:8000.

Tests

Run ./tests.sh

Backup test dataset

Run ./backup-testdata.sh.

Applying test dataset

Run ./apply-testdata.sh. Note if you want to do this when postgres was already started then you need to remove data volume docker-compose stop && docker-compose rm -f && docker volume rm restaurant_data. Tests datasets credentails are admin:admin.

About

License:MIT License


Languages

Language:Python 46.0%Language:JavaScript 27.3%Language:HTML 21.7%Language:Shell 5.0%