Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 930 Bytes

README.md

File metadata and controls

34 lines (24 loc) · 930 Bytes

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