Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 941 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 941 Bytes

practica-api

Codacy Badge Build Status

Your code should have the following structure:

├── run.sh
├── private
│   ├── ...
└── public
    ├── <THIS REPO>

run.sh should have the following contents (on Director, run.sh starts at public/):

#!/bin/sh

# This assumes you've created a virtual environment and installed Gunicorn

source venv/bin/activate

python manage.py collectstatic --no-input
gunicorn --bind $HOST:$PORT --workers 1 'practica_api.wsgi:application'