Opened 18 years ago
Closed 13 years ago
#2905 closed New feature (invalid)
Django needs a one-click installation routine for shared hosting providers
Reported by: | 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)
Change History (7)
comment:1 by , 18 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 17 years ago
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 by , 17 years ago
Triage Stage: | Accepted → Someday/Maybe |
---|
I think this is a pipe-dream too, but let's push to someday/maybe.
comment:4 by , 16 years ago
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 by , 14 years ago
Severity: | major → Normal |
---|---|
Type: | enhancement → New feature |
comment:6 by , 13 years ago
Easy pickings: | unset |
---|---|
Resolution: | → invalid |
Status: | new → 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.
Accepted as part of the long-term wishlist.