Skip to content

Commit

Permalink
Update run_django.sh with HTTP_PROXY variables
Browse files Browse the repository at this point in the history
  • Loading branch information
dtuantran authored Dec 21, 2023
1 parent 1c2a968 commit 6c8743f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker/run_django.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ python scripts/initialize_from_fixture.py

python manage.py loaddata initial_data.json initialize_site.json initial_team_data.json

# Django needs to remove http proxy variables for working
unset HTTP_PROXY
unset HTTPS_PROXY
unset NO_PROXY

# start development server on public ip interface, on port 8000
PYTHONUNBUFFERED=TRUE gunicorn codalab.wsgi \
--bind django:$DJANGO_PORT \
Expand Down

0 comments on commit 6c8743f

Please sign in to comment.