On Tue, 2018-12-18 at 11:22 +0200, Avraham Serour wrote:
> I feel your pain, once I had to deploy a django project on windows,
> after trying many different options I installed cygwin and form there
> nginx+uwsgi like any other normal person.
> Today microsoft have WSL, I think you may use that too, you can still
> use IIS to route traffic and forward the http connections. Maybe not
> as efficient as it could be but I think it will save you headaches.
> 
> Good luck
> 
> On Tue, Dec 18, 2018 at 6:10 AM Mike Dewhirst <mi...@dewhirst.com.au>
> wrote:
> > On 18/12/2018 2:16 PM, Alex Heyden wrote:
> > 
> > > I have recently, and it was equal parts misery and pain. FastCGI
> > via 
> > 
> > > wfastcgi, as outlined at 
> > 
> > > http://blog.mattwoodward.com/2016/07/running-django-application-o
> > n-windows.html
> > 
> > >
> > 
> > > I also had to downgrade from Python 3.7 to Python 3.6
> > 
> > >
> > 
> > > I wouldn't really consider myself an expert on the subject. All I
> > can 
> > 
> > > say is that it is possible.
> > 
> > 
> > 
> > I once had to implement a web service on a Windows server and
> > eventually 
> > 
> > installed Apache. That worked brilliantly although it wasn't a
> > heavy 
> > 
> > duty application. Django works well on Windows so Apache is a
> > fallback 
> > 
> > if IIS doesn't cut it for you.
> > 
> > 
> > 
> > 
> > 
> > >
> > 
> > > On Mon, Dec 17, 2018 at 5:19 PM Larry Martell <larry.martell@gmai
> > l.com 
> > 
> > > <mailto:larry.mart...@gmail.com>> wrote:
> > 
> > >
> > 
> > >     Anyone have any experience setting up a Django app to work
> > with IIS? I
> > 
> > >     have inherited what I was told is a working system, but it's
> > not
> > 
> > >     working. Before I post details of my issues and questions I
> > wanted to
> > 
> > >     see if anyone here has successfully got a Django app to run
> > with IIS.
> > 
> > >
> > 
> > >     -- 
> > 
> > >     You received this message because you are subscribed to the
> > Google
> > 
> > >     Groups "Django users" group.
> > 
> > >     To unsubscribe from this group and stop receiving emails from
> > it,
> > 
> > >     send an email to django-users+unsubscr...@googlegroups.com
> > 
> > >     <mailto:django-users%2bunsubscr...@googlegroups.com>.
> > 
> > >     To post to this group, send email to django-users@googlegroup
> > s.com
> > 
> > >     <mailto:django-users@googlegroups.com>.
> > 
> > >     Visit this group at https://groups.google.com/group/django-us
> > ers.
> > 
> > >     To view this discussion on the web visit
> > 
> > >     https://groups.google.com/d/msgid/django-users/CACwCsY7bk-c7Z
> > a-PGUbaEkftA8Xxqd%2BaCUPkaQryW-1kXX0_nQ%40mail.gmail.com.
> > 
> > >     For more options, visit https://groups.google.com/d/optout.
> > 
> > >
> > 
> > > -- 
> > 
> > > You received this message because you are subscribed to the
> > Google 
> > 
> > > Groups "Django users" group.
> > 
> > > To unsubscribe from this group and stop receiving emails from it,
> > send 
> > 
> > > an email to django-users+unsubscr...@googlegroups.com 
> > 
> > > <mailto:django-users+unsubscr...@googlegroups.com>.
> > 
> > > To post to this group, send email to django-us...@googlegroups.co
> > m 
> > 
> > > <mailto:django-users@googlegroups.com>.
> > 
> > > Visit this group at https://groups.google.com/group/django-users.
> > 
> > > To view this discussion on the web visit 
> > 
> > > https://groups.google.com/d/msgid/django-users/CA%2Bv0ZYVWO5bFTx%
> > 3D6im_dLWwPWz1FoDcFVDN9GXREj%3Dp49f2FcA%40mail.gmail.com 
> > 
> > > <https://groups.google.com/d/msgid/django-users/CA%2Bv0ZYVWO5bFTx
> > %3D6im_dLWwPWz1FoDcFVDN9GXREj%3Dp49f2FcA%40mail.gmail.com?utm_mediu
> > m=email&utm_source=footer>.
> > 
> > > For more options, visit https://groups.google.com/d/optout.
> > 
> > 
> > 


Hi,

I was looking at this back in November., although I'm not a Powershell
or Windows expert I start to put together a powershell script to
automate the setup, although there was a couple of lose ends.

Most critically the order of handlers is import and you need to force
the static files handler to be primary for media and static directories
as whatever handler (by script uses fastcgi / wfastcgi.py)  use use to
interface with wsgi as primary at the root level. (Eg so media and
static overrides the root with their local config)

Unfortunately I couldn't find anyway to control the handler ordering
through powershell, I'm waiting on a window colleague to fix it up, but
it is no longer a prioirty as the project as move away form windows
hosting.

If there is interest I'll see what I can do about getting the script
public.


-- 
Roger Gammans <rgamm...@gammascience.co.uk>
Gamma Science

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1545125735.14784.7.camel%40gammascience.co.uk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to