django-admin and manage.py without shell-access

65 views
Skip to first unread message

Roman

unread,
Apr 5, 2006, 4:03:37 AM4/5/06
to Django users
I need to place my django-powered web site on a server which haven't
SSH-access (ftp only). Can I execute analogues of "django-admin" and
"manage.py" through web interface?
Is there something like web-wrapper for these commands?

Thank you.
--
Roman

limodou

unread,
Apr 5, 2006, 4:07:13 AM4/5/06
to django...@googlegroups.com

I think the answer is NO. And I have a question, if you haven't telnet
access, and how to configure your settings.py and how to configure
your web server config?

--
I like python!
My Blog: http://www.donews.net/limodou
My Django Site: http://www.djangocn.org
NewEdit Maillist: http://groups.google.com/group/NewEdit

Ivan Sagalaev

unread,
Apr 5, 2006, 4:13:23 AM4/5/06
to django...@googlegroups.com
Roman wrote:

>I need to place my django-powered web site on a server which haven't
>SSH-access (ftp only). Can I execute analogues of "django-admin" and
>"manage.py" through web interface?
>
>

There is no web interface but you can write a script with something like
this:

from django.core import management

management.install('app_name')

And execute it in server. Look in core/management.py for more options.

Роман Иманкулов

unread,
Apr 5, 2006, 4:17:02 AM4/5/06
to django...@googlegroups.com
Thank you for your reply

2006/4/5, limodou <lim...@gmail.com>:

I think the answer is NO. And I have a question, if you haven't telnet
access, and how to configure your settings.py and how to configure
your web server config?
settings.py and .htaccess are configured locally then uploaded on a server
 


Roman

unread,
Apr 5, 2006, 4:26:00 AM4/5/06
to Django users
Thanks, it looks like a satisfactory decision for the "poor man's
hosting"

Waylan Limberg

unread,
Apr 5, 2006, 2:36:37 PM4/5/06
to django...@googlegroups.com

For that matter, I don't see why you can ftp up all the files. After
all, you should have a copy running on a test box. True, some of the
settings and config stuff might be different, and it isn't exactly
easy to edit/upload/test, edit/upload/test ..., but it works.

The only other concern is the db setup. However, assuming you are
using the same db on your test box, save all the sql output from
manage.py to files and then input them into whatever db cleint the
host offers. Again, not as elegant, but it works.


--
----
Waylan Limberg
way...@gmail.com

Reply all
Reply to author
Forward
0 new messages