Skip to content

lab9k/qr_code_service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

361be8a · May 17, 2021

History

15 Commits
Oct 11, 2019
May 17, 2021
Oct 16, 2019
Oct 11, 2019
Oct 10, 2019
Oct 11, 2019
Oct 11, 2019
Oct 10, 2019
Oct 11, 2019
Oct 11, 2019
Oct 10, 2019
May 17, 2021
Oct 16, 2019

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