This script is written as part of the task of the courses Devman.
- Wine collection section.
These instructions will get you a copy of the project up and running on your local machine.
Python 3.6 and later.
To install the software, you need to install the dependency packages from the file: requirements.txt.
Perform the command:
pip3 install -r requirements.txt
- Download the code.
- Launch the website with the command:
$ python3 main.py
- Go to the website at http://127.0.0.1:8000.
For example, you can use the file wines.xlsx which is attached in the repository.
The data in the table looks like this:
| Категория | Название | Сорт | Цена | Картинка | Акция |
|---|---|---|---|---|---|
| Белые вина | Белая леди | Дамский пальчик | 399 | belaya_ledi.png | Выгодное предложение |
| Напитки | Коньяк классический | 350 | konyak_klassicheskyi.png | ||
| Красные вина | Хванчкара | Александраули | 550 | hvanchkara.png | Выгодное предложение |
The code is written for educational purposes as part of the assignment. In a course on Python and web development on the website Devman.
vlaskinmac - GitHub-vlaskinmac