Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 605 Bytes

README.md

File metadata and controls

43 lines (30 loc) · 605 Bytes

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