Opened 9 years ago

Closed 3 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

Description

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)

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

Download all attachments as: .zip

Change History (7)

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

  • Triage Stage changed from Unreviewed to Accepted

Accepted as part of the long-term wishlist.

comment:2 Changed 7 years ago by 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 7 years ago by SmileyChris

  • Triage Stage changed from Accepted to Someday/Maybe

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

Changed 6 years ago by alexarsh5@…

django app install procedure for fresh ubuntu

comment:4 Changed 6 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 4 years ago by lrekucki

  • Severity changed from major to Normal
  • Type changed from enhancement to New feature

comment:6 Changed 3 years ago by aaugustin

  • Easy pickings unset
  • Resolution set to invalid
  • Status changed from new to closed
  • 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