Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » Django
  • » Documentation for Django on TextDrive [RSS Feed]

#1 Nov. 25, 2005 23:04:18

James B.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Documentation for Django on TextDrive


I spent some time with Georg's Django/lighttpd/FCGI instructions, got
Django running under my TextDrive account, and then wrote up some
(hopefully) easy-to-follow instructions which are now online:http://manuals.textdrive.com/read/book/15Suggestions and corrections are welcome.

--
"May the forces of evil become confused on the way to your house."
-- George Carlin

Offline

#2 Nov. 25, 2005 23:43:02

Simon W.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Documentation for Django on TextDrive


On 25 Nov 2005, at 23:04, James Bennett wrote:Suggestions and corrections are welcome.Thanks a lot James - that's some really well written documentation:clear, succinct and informative.Just one tiny suggestion (I don't use TextDrive so I can't comment onmuch). You suggest downloading Django like this:curlhttp://media.djangoproject.com/releases/0.90/Django-0.90.tar.gz-o Django-0.90.tar.gzYou can simplify that using the -O argument to curl (that's a capitalO), which tells it to use the same filename when saving to disk:curl -Ohttp://media.djangoproject.com/releases/0.90/Django-0.90.tar.gzCheers,

Simon

Offline

#3 Nov. 25, 2005 23:52:52

James B.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Documentation for Django on TextDrive


On 11/25/05, Simon Willison <> wrote:
> You can simplify that using the -O argument to curl (that's a capital
> O), which tells it to use the same filename when saving to disk:
>
> curl -Ohttp://media.djangoproject.com/releases/0.90/Django-0.90.tar.gzGood call. I don't know much of curl's command-line options, being
used to wget,but for a while wget wasn't available on TXD's shared
servers; I think now it is, and I'll probably just update to use that
instead.


--
"May the forces of evil become confused on the way to your house."
-- George Carlin

Offline

#4 Nov. 26, 2005 03:29:10

Adrian H.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Documentation for Django on TextDrive


On 11/25/05, James Bennett <> wrote:
> I spent some time with Georg's Django/lighttpd/FCGI instructions, got
> Django running under my TextDrive account, and then wrote up some
> (hopefully) easy-to-follow instructions which are now online:
>
>http://manuals.textdrive.com/read/book/15Nicely done, James! This is great stuff.

One suggestion: The writeup should encourage people to chown their
settings file so that it's only readable by their own user account and
the Web server, as a security precaution. I apologize in advance if
you did indeed mentioned this, but I didn't see it during my cursory
read.

Adrian

--
Adrian Holovaty
holovaty.com | djangoproject.com | chicagocrime.org

Offline

#5 Nov. 26, 2005 04:55:41

James B.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Documentation for Django on TextDrive


On 11/25/05, Adrian Holovaty <> wrote:
> One suggestion: The writeup should encourage people to chown their
> settings file so that it's only readable by their own user account and
> the Web server, as a security precaution. I apologize in advance if
> you did indeed mentioned this, but I didn't see it during my cursory
> read.

I didn't mention anything about it, but I'm looking into it now.
As-is, the instructions leave you with your Django project's code and
settings in /home/username/django-projects/, and users on TextDrive's
shared servers can't browse into each other's homes. It's possible to
create additional users with SFTP access, but they get their own homes
under /home/username/homes/ and I'm fairly certain that they're jailed
into that directory.

I'll investigate it a bit more to see exactly what the security model
is for TextDrive's shared servers, but probably I'll add a line about
locking down the settings file anyway, just because it never hurts to
be extra paranoid.


--
"May the forces of evil become confused on the way to your house."
-- George Carlin

Offline

  • Root
  • » Django
  • » Documentation for Django on TextDrive [RSS Feed]

Board footer

Moderator control

Enjoy the 20th of January
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support