Skip to content

simbirsoft/devops-sample-django-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Party Parrot App

parrot



Sample Python application on Django with PostgreSQL database.

Requirements


  • django 4.0.1
  • Pillow 9.0.0
  • psycopg2-binary 2.9.3
  • django-prometheus 2.2.0

Deployment


  • install Python 3.8
  • install libs
      pip3 install -r requirements.txt
  • Set environment export for variables:
      DJANGO_DB_HOST: db
      DJANGO_DB_NAME: app
      DJANGO_DB_USER: worker
      DJANGO_DB_PASS: worker
      DJANGO_DB_PORT: "5432"
      DJANGO_DEBUG: "False"
  • migrate database:
python3 manage.py migrate
  • start application:
python3 manage.py runserver 0.0.0.0:8000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published