This is a Django-based web application for managing a restaurant kitchen. It includes features for managing cooks, dishes, and dish types.
- Cooks Management: Add, update, delete, and view details of cooks. (CRUD)
- Dishes Management: Add, update, delete, and view details of dishes. (CRUD)
- Dish Types Management: Add, update, delete, and view details of dish types. (CRUD)
- User Authentication: Login and logout functionality.
- Pagination: Paginated views for lists of cooks, dishes, and dish types.
- Access the application at https://restaurant-kitchen-service-6p40.onrender.com`
You can use the following credentials to log in and explore the application:
- Username:
admin.user
- Password:
1qazcde3
restaurant_kitchen/
├── core/
├── home/
├── kitchen/
├── static/
├── templates/
├── manage.py
└── requirements.txt
-
Clone the repository:
git clone https://github.com/PythonToGo/resturant_kitchen_manage.git cd restaurant_kitchen
-
Create a virtual environment:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install dependencies:
pip install -r requirements.txt
-
Apply migrations:
python manage.py migrate
-
Load initial data:
python manage.py loaddata kitchen_db_data.json
-
Create SuperUser:
python manage.py createsuperuser
- Username: admin.user
- Email: [email protected]
- Password: 1qazcde3
-
Run the development server:
python manage.py runserver
- Access the application at
http://127.0.0.1:8000/
. - Use the admin interface at
http://127.0.0.1:8000/admin/
to manage users and other data.
To deploy the application, you can use Docker. The repository includes a Dockerfile
and docker-compose.yml
for containerized deployment.
-
Build and run the containers:
docker-compose up --build
-
Access the application:
- Application:
http://localhost:5085
- Admin:
http://localhost:5085/admin
- Application:
This project is licensed under the MIT License. See the LICENSE.md file for details.