Skip to content

PhungXuanAnh/django-nginx-gunicorn-postgres

Repository files navigation

Overview

The master branch of this project for reusable as production, see this link to know how to create this project

1. Step to run this project

1.1. Add docker-env file

mkdir -p config/app
touch config/app/docker-env

Add to file config/app/docker-env:

SLACK_API_KEY="your-api-key"
SLACK_USERNAME="django-nginx-gunicorn-postgres"

1.2. Build, run and migrate database

docker-compose build
docker-compose up -d
docker-compose run --rm django-nginx-gunicorn-postgres /bin/bash -c "python manage.py migrate"

Access link: http://0.0.0.0:81/admin/ to test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published