ucheba5

0
README.md

Задача 1
Сделан Dockerfile.python
Задача 2
Задача 3

Задача 4

Задача 5



Задача 6

Задача 6.1

Задача 6.2

shvirtd-example-python

Example Flask-application for docker compose training.

Installation

First, you need to clone this repository:

Now, we will need to create a virtual environment and install all the dependencies:

You need to run Mysql database and provide following ENV-variables for connection:

  • DB_HOST (default: '127.0.0.1')
  • DB_USER (default: 'app')
  • DB_PASSWORD (default: 'very_strong')
  • DB_NAME (default: 'example')

The applications will always running on http://localhost:5000.
To exit venv just type

deactivate

License

This project is licensed under the MIT License (see the

LICENSE
file for details).