ARPA-SIMC / adriaclim-geoportal

GNU General Public License v3.0
0 stars 0 forks source link

Django runserver should not be used in production #15

Closed edigiacomo closed 1 year ago

edigiacomo commented 1 year ago

manage.py runserver is a development web server and should not be used in production. See https://docs.djangoproject.com/en/4.1/howto/deployment/ for alternatives (ASGI o WSGI).

https://github.com/ARPA-SIMC/adriaclim-geoportal/blob/83d251ab3f46c655d8b64883755c5f0c5023fa61/adriaclim-master/AdriaApp1/docker-compose.yml#L12

fraFerrari99 commented 1 year ago

Hi Emanuele, I deployed the project with ASGI using hypercorn, so I think this problem is solved. Thanks for opening the issue advising the mistake!