Azure-Samples / azure-django-postgres-flexible-aca

Web app using Python Django backend, set up for deployment to Azure Container Apps with Azure PostgreSQL Flexible Server.
MIT License
17 stars 31 forks source link

Abnormal running app on CodeSpace #71

Closed v-jiaodi closed 1 year ago

v-jiaodi commented 1 year ago

Describe the issue: When test Running Locally on CodeSpace, run python3 -m gunicorn project.wsgi:application --pythonpath src --reload, Web page loading exception: image

Repro Steps:

  1. Open with CodeSpace
  2. Run python3 src/manage.py collectstatic python3 -m gunicorn project.wsgi:application --pythonpath src --reload.

Expected behavior: Running python3 -m gunicorn project.wsgi:application --pythonpath src --reload, the web page can load normally on CodeSpace.

@pamelafox for notification.

pamelafox commented 1 year ago

Another static assets issue. CC @kjaymiller

kjaymiller commented 1 year ago

@v-jiaodi - This was corrected by https://github.com/kjaymiller/cookiecutter-relecloud/pull/238 and will be updated shortly.

v-jiaodi commented 1 year ago

@kjaymiller Verify again that the issue no longer exists.