Re: Anybody set up Django using Dreamhost?

2006-08-03 Thread [EMAIL PROTECTED]

Yip, I tried that Jay, the result was:

[EMAIL PROTECTED]:~$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/home/kimizu/django_src/dja:/home/kimizu/django_src/django/bin

My initial feeling about this was the that the django-admin.py wasn't
found due to the directory structure within the .bash_profile file.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Re: Anybody set up Django using Dreamhost?

2006-08-03 Thread Jay Parlar

On 8/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Im using Putty on a windows machine yep. Following Jeff's tutorial my
> paths are all wrong now, as myproject in now in the 'bin' directory.
>


Did you try doing:
echo $PATH

Jay P.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Re: Anybody set up Django using Dreamhost?

2006-08-03 Thread [EMAIL PROTECTED]

Error message,
mv: cannot stat `dja': No such file or directory.

I think I'll just delete everything and start over again


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Re: Anybody set up Django using Dreamhost?

2006-08-03 Thread [EMAIL PROTECTED]

> From the command prompt, type:
>
> echo $PATH
>
> and let us know what it says.
>
> Jay P.

After logging into Putty, if I type echo $PATH I get:

[EMAIL PROTECTED]:~$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/home/kimizu/django_src/dja:/home/kimizu/django_src/django/bin


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Re: Anybody set up Django using Dreamhost?

2006-08-03 Thread [EMAIL PROTECTED]

Im using Putty on a windows machine yep. Following Jeff's tutorial my
paths are all wrong now, as myproject in now in the 'bin' directory.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Re: Anybody set up Django using Dreamhost?

2006-08-03 Thread SmileyChris

Go into your django_src directory, then:
mv dja ../django_projects


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Re: Anybody set up Django using Dreamhost?

2006-08-03 Thread Jay Parlar

On 8/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> SmilyChris, you've made me SmilySimon, thanks a million! For anyone
> else out there, just navigate to the directory django-admin.py is in
> e.g.
>
> cd\django_src\django\bin
>
> then type
> python django-admin.py startproject myproject
>

Wait... Were you trying to run 'django-admin.py startproject
myproject' from your Windows machine?

Jay P.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Re: Anybody set up Django using Dreamhost?

2006-08-03 Thread Jay Parlar

On 8/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Thanks for your reply Julio, yes I've tried "source ~.bash_profile"
> before typing "django-admin.py startproject myproject" but still the
> prompt says "command not found".

>From the command prompt, type:

echo $PATH

and let us know what it says.

Jay P.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Re: Anybody set up Django using Dreamhost?

2006-08-03 Thread [EMAIL PROTECTED]

SmilyChris, you've made me SmilySimon, thanks a million! For anyone
else out there, just navigate to the directory django-admin.py is in
e.g.

cd\django_src\django\bin

then type
python django-admin.py startproject myproject


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Re: Anybody set up Django using Dreamhost?

2006-08-03 Thread [EMAIL PROTECTED]

Thanks for your reply Julio, yes I've tried "source ~.bash_profile"
before typing "django-admin.py startproject myproject" but still the
prompt says "command not found".


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Re: Anybody set up Django using Dreamhost?

2006-08-03 Thread Jay Parlar

I would avoid the Wiki tutorial completely and use Jeff Croft's guide:
http://www2.jeffcroft.com/2006/may/11/django-dreamhost/

I've setup a couple sites flawlessly using his tutorial.

Jay P.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Re: Anybody set up Django using Dreamhost?

2006-08-03 Thread Julio Nobrega

On 8/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I'm working my way through the tutorial on Dreamhost's wiki
> (http://wiki.dreamhost.com/index.php/Django) and came upon a problem,
> namely the  django-admin.py: command not found prompt.
>

  Did you run "source ~/.bash_profile"? If yes, try to run "python
django-admin.py etc". Hope it works :)

-- 
Julio Nobrega - http://www.inerciasensorial.com.br

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Re: Anybody set up Django using Dreamhost?

2006-08-03 Thread SmileyChris

Hi Simon,

Try this instead:
python django-admin.py

If you want any specific help with Dreamhost setup, you can try
contacting me via gtalk and I'll have a chat with you.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Re: Anybody set up Django using Dreamhost?

2006-08-03 Thread [EMAIL PROTECTED]

Thanks Jay, I've actually tried to set up Django twice, once using
Jeff's guide and another time using the wiki, but on both occasions the
same problem occured.

Jay Parlar wrote:
> I would avoid the Wiki tutorial completely and use Jeff Croft's guide:
> http://www2.jeffcroft.com/2006/may/11/django-dreamhost/
>
> I've setup a couple sites flawlessly using his tutorial.
> 
> Jay P.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Anybody set up Django using Dreamhost?

2006-08-03 Thread [EMAIL PROTECTED]

I'm working my way through the tutorial on Dreamhost's wiki
(http://wiki.dreamhost.com/index.php/Django) and came upon a problem,
namely the  django-admin.py: command not found prompt.

I understand that the paths within the .bash_profile file within the
root directory must point towards the django-admin.py file within
django's bin directory. I've triple checked the paths but no avail, I'm
beginning to tear my hair out and can't see for the life of me whats
wrong.

My .bash_profile is simply this:

# ~/.bash_profile: executed by bash(1). umask 002 PS1='[\h]$'
export PATH=$PATH:$HOME/django_src/django/bin
export PYTHONPATH=$PYTHONPATH:$HOME/django_src:$HOME/django_projects

I've attached a screenshot of the directory structure within my ftp
client here:
http://img361.imageshack.us/img361/9306/djangoep6.gif

If somebody could point out whats wrong, I'd be very grateful.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---