In [this page](https://uwsgi.readthedocs.io/en/latest/WSGIquickstart.html), the first example of using python with uwsgi is the following code: def application(env, start_response): start_response('200 OK', [('Content-Type','text/html')]) return [b"Hello World"] As you can see, there is this `start_response` function which is provided by uwsgi, which is similar to all those things that framewroks like django provide to receive and reply requests. So...does uwsgi provide enough of these things so that you can make a web app with python without using any web framework?

Member Avatar
+0 forum 0

I'm trying to run a project that uses Django and uWSGI in a Docker container. But I'm new to Docker and uWSGI so I'm not quite sure how I'm supposed to do it. At first I build the project with the below command: docker build -t saleor . Then I run it: docker run --env SECRET_KEY="<the key>" -p 4000:80 saleor And this is what I get: [uWSGI] getting INI configuration from /app/saleor/wsgi/uwsgi.ini [uwsgi-static] added mapping for /static => /app/static *** Starting uWSGI 2.0.15 (64bit) on [Tue Dec 19 14:02:19 2017] *** compiled with version: 4.9.2 on 19 December 2017 09:11:22 …

Member Avatar
Member Avatar
+0 forum 2

The End.