Skip to content

lab9k/qr_code_service

Repository files navigation

QR code service

Prerequisites

  • Python 3.6 / Python 3.7
  • pip

installation

pip install -r requirements.txt

Run production server

export DJANGO_SETTINGS_MODULE="qr_service.settings.production"
export SECRET_KEY="s3cR3T_k3y"
export DEBUG=0
python manage.py runserver 8000

deploy with docker

create env file

cp .env.example .env

build

docker-compose build

run

docker-compose up
  • Your server is now available at localhost:1337

You can configure the used port in docker-compose.yml in services.nginx.ports