MrCrowley21 / Kitchen

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kitchen

This repository, Kitchen, represents a part of a bigger project of a restaurant simulation, performed as laboratory work during the Network Programming course. The another component of this project, Dinning Hall, can be found following this link.
!Note the fact that this version of README file is not final and will be modified further.
First, to run the project into a docker container, perform the following commands:

$ docker network create restaurant_network  
$ docker build -t kitchen_image .  
$ docker run --net restaurant_network -p 8080:8080 --name kitchen_container kitchen_image

The first line will create an image of our project, while the next one - run project inside the created container.
NOTE that this container should be run first and then, the Dinning Hall container could be run. The Kitchen project consists of:

  • a README file with explanations;
  • a Dockerfile to assemble the image;
  • a requirements.txt file that contains all necessary libraries the program to run properly;
  • a server.py file that starts the server and program execution;
  • a config.py file that contains defined constants and global variables;
  • a kitchen_data map that contains json files with cooks and food items from menu;
  • a Components_logic map that contains classes that defines each project entity behaviour.

For this moment, for more explanation regarding the code itself, please take a look at the comments that appears there.

About


Languages

Language:Python 99.3%Language:Dockerfile 0.7%