Transitioning from Linux to Windows

justin walters walters.justin01 at gmail.com
Sat Jun 3 10:50:08 EDT 2017


On Jun 3, 2017 7:28 AM, <chitturk at uah.edu> wrote:

On Saturday, June 3, 2017 at 8:50:27 AM UTC-5, Chris Angelico wrote:

> Hmm. ISTM the easiest way would be to run an explicit server, probably
> HTTP (hence Django as you mentioned), and then you can have people
> access it using a client on Windows. With HTTP, that client would
> simply be a web browser. I would advise picking up a quick tutorial on
> Django or Flask, and seeing how easy it is to spin up an app and start
> responding to requests.
>
> ChrisA

Yes, "django" indeed seems to be a good solution - But I am having a tough
time understanding how to set it up :( ...

All I need is a simple example (say in django) with explicit directions
"django for dummies" - that shows how to set it up - access is using
http(s) and execute on the server/ubuntu ... I have indeed looked far and
wide for the "simplest" example in django I can learn from/adapt ... it is
something I have struggled with for sure ... (number crunching is what I do
know, UI's are strange to me!)
--
https://mail.python.org/mailman/listinfo/python-list


Lucky for you!

I work with django almost every single day!

The best place to get started is the official tutorial.
https://docs.djangoproject.com/en/1.11/intro/tutorial01/


Or should take a couple of hours to get through it, but it will teach you
all the basics.

After that, you want to learn how to set up gunicorn to serve a local unix
socket. Then you need to set up nginx to proxy all requests to that socket.
You can use certbot with letsencrypt dor ssl.

Alternatively, i believe heroku has a prebuilt django deployment you can
use.



More information about the Python-list mailing list