Home

Awesome

qr-generator

generates qr code

TODO:

API

Installation

You can build and run the service using docker. if you want to build a docker image yourself or build it into your host, see the instructions below.

Using with Docker-Compose

  1. install docker
  2. install docker-compose
  3. run commands:
$ git clone https://github.com/gosha20777/qr-generator.git
$ cd qr-generator
$ docker-compose up

Using without Docker

$ apt install python3.7
$ apt install python3-pip
$ python3.7 -m pip install --upgrade pip
$ python3.7 -m pip install virtualenv
$ git clone https://github.com/gosha20777/qr-generator.git
$ cd qr-generator
$ virtualenv .virtualenv
$ source .virtualenv/bin/activate
(.virtualenv) $ pip install -r requirements.txt --log-config log-config.yaml
(.virtualenv) $ uvicorn server:app --host localhost --port 5000