Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 1.11 KB

README.md

File metadata and controls

44 lines (33 loc) · 1.11 KB

ows-events-qr

Environments

Create .env file and copy all environments from .env.template

(Environments are configured by default to work with docker-compose.yml. Change them for your needs)

How to start with docker

docker-compose up

Start locally

  1. Installation

    Pip installation:

    pip install -r requirements.txt

    Or you can use poetry as package manager:

    Install Poetry globally onto your system, or install it with pip: pip install poetry

    Run this command:

    poetry install
  2. Run project

    python start.py
  3. First request

    1. Paste this url in postman: http://127.0.0.1:5000/create_user
    2. Create Authorization key in Headers with your AUTH environment in .env file like this img.png
    3. Open the form-data and create this key:value
      img_1.png
    4. Send a POST request and see this response
      img.png