#!/bin/bash

set -o errexit
set -o pipefail
set -o nounset

# Skip collectstatic when not using AWS
echo "Skipping collectstatic (USE_AWS=false)"

# Resource and agent permission lookups run before accepting the socket.
daphne -b 0.0.0.0 -p 5000 --websocket_timeout $DJANGO_WORKER_TIMEOUT --websocket_connect_timeout 30 config.asgi:application
