Opened 14 years ago

Closed 8 years ago

#2905 closed New feature (invalid)

Django needs a one-click installation routine for shared hosting providers

Reported by: orestis@… Owned by: nobody
Component: Core (Other) Version:
Severity: Normal Keywords:
Cc: Triage Stage: Someday/Maybe
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


Django is picking up steam, but installing it on a mainstream shared hosting provider (such as DreamHost) is something of a pain.

I propose that some kind of script should be created that makes all the necessary steps of installing/creating a Django app on a shared host, including creating a demo app that tests the environment. This will ease the problems on the mailing list that are actually django configuration errors.

Also, error handling between django/flup/FastCGI is a mess. Random 500 server errors, the error log is redirected to apache's error log. This is a problem, as minor errors (like missing favicons, robots.txt) seem to cause trouble to FastCGI processes, resulting to unstable apps.

Also, most hosts seem to kill sleeping processes, or prevent the spawning of more processes above a certain limited. This should be a setting in Django/flup, ie. how many processes to spawn. Maybe a periodic restart (using cron jobs?) of fastcgi processes is needed too.

Attachments (1) (11.0 KB) - added by alexarsh5@… 11 years ago.
django app install procedure for fresh ubuntu

Download all attachments as: .zip

Change History (7)

comment:1 Changed 13 years ago by Simon G. <dev@…>

Triage Stage: UnreviewedAccepted

Accepted as part of the long-term wishlist.

comment:2 Changed 12 years ago by Jarek Zgoda

Don't think it's even remotely possible. I hosted my site on 3 various shared hosting sites and literally everyone was smart enough to have its own procedure of "getting Django working".

comment:3 Changed 12 years ago by Chris Beaven

Triage Stage: AcceptedSomeday/Maybe

I think this is a pipe-dream too, but let's push to someday/maybe.

Changed 11 years ago by alexarsh5@…

Attachment: added

django app install procedure for fresh ubuntu

comment:4 Changed 11 years ago by anonymous

I added django app install procedure for fresh ubuntu. My app directory name is mx30. It can be replaced with any other.
The script has --help option and it was checked on Ubuntu server and desktop 8.04. Hope it can be usefull.

comment:5 Changed 9 years ago by Łukasz Rekucki

Severity: majorNormal
Type: enhancementNew feature

comment:6 Changed 8 years ago by Aymeric Augustin

Easy pickings: unset
Resolution: invalid
Status: newclosed
UI/UX: unset

Several specialized hosting providers — that didn't exist when this ticket was opened — are building entire toolchains to resolve this problem.

Several ways of deploying Django are described in the documentation. We can make targeted changes to improve one use case or another. But a blanket ticket like this isn't useful.

Note: See TracTickets for help on using tickets.
Back to Top