Wednesday, December 28, 2016

Re: Djnago project to installer

On Monday 26 December 2016 12:45:23 Antonis Christofides wrote:

> It might be possible to install part of the stack (for example, Django

> only). It would be very difficult for the whole stack (web server,

> WSGI server, Django, database). I think it might be impossible or

> undesirable.

>

> Why do you want this?

 

This is pretty much the "node" way of doing things and an untapped market for Django. It will probably remain untapped, while the development server remains deemed "not production ready" and has no "production equivalent" in behavior (i.e.: be quiet, daemonize).

There's plenty of applications that are built as a "website", and a GUI that is nothing more than a QTWebkit application window, with hidden toolbars and pointing to localhost:preconfigured_port.

 

> > I have created one web site in django.I don't want to host it,

> > instead of hosting I want to create installer of that website. Is

> > it possible with PyInstaller ? Is there any application available

> > through which we can convert django project to installer?

 

As outlined above, you're treading in new ground. The Django part is easy, even having a pre-set settings.py can be done and a pre-filled SQLite database can be shipped as well. The hard part is to fire it up and shutdown when you need it to.

Is this for presentation of a new website or for an stand-alone application?

 

--

Melvyn Sopacua

No comments:

Post a Comment