Re: Installing Pinax over my existing Django installation

66 views
Skip to first unread message
Message has been deleted

ptone

unread,
Nov 10, 2009, 12:17:40 PM11/10/09
to Pinax Users


On Nov 9, 7:24 pm, David Kuriakose <dak...@gmail.com> wrote:
> Hi --
>
> I just installed and set up a local Django environment using bitnami
> djangostack (http://bitnami.org/stack/djangostack). How can I install
> Pinax over my existing Django stack? I am assuming the normal
> installation documentation will not suffice.

As long as this encapsulated environment has a relatively normal
install of python - you should be able to just use the standard pinax
install instructions. Because pinax sets up its own contained
environment (virtualenv), it will exist inside the djangostack - but
with its own copy of django - think nesting dolls. Have you tried just
following instructions?

If this djangostack is doing something funky with the way its copy of
python works such that the standard pinax install won't work, it will
be easier to set up a standard dev environment (abandon djangostack)
and use pinax there, then it would be to disassemble pinax and install
it into the djangostack env.

I don't know if anyone has developed a AWP (Apache,mod_wsgi,Python)
packaged devstack, but that could be interesting.

-Preston

>
> I want to test out Pinax and then if it is good to go install Pinax on
> my live virtual server (which also has Django already installed).
>
> Any advice would be appreciated. Thanks.

David Kuriakose

unread,
Nov 10, 2009, 8:40:04 PM11/10/09
to Pinax Users
Ok, thanks. So I installed pinax with its own environment. The working
directory is env. I got it working last night, set up a clone project,
etc. but when I turned on my computer today I couldn't get the
environment working.

I did:
david-kuriakoses-macbook-pro-15:env davidkuriakose$ bin/activate

And got permission denied:
-bash: bin/activate: Permission denied

I tried sudo ... and entered my pw but got a different error:
david-kuriakoses-macbook-pro-15:env davidkuriakose$ sudo bin/activate
Password:
sudo: bin/activate: command not found

Does anyone know what's wrong? (Im running Snow Leopard)

Steve Schwarz

unread,
Nov 11, 2009, 9:00:15 AM11/11/09
to pinax...@googlegroups.com
On Tue, Nov 10, 2009 at 7:40 PM, David Kuriakose <dak...@gmail.com> wrote:
>
> Ok, thanks. So I installed pinax with its own environment. The working
> directory is env. I got it working last night, set up a clone project,
> etc. but when I turned on my computer today I couldn't get the
> environment working.
>
> I did:
> david-kuriakoses-macbook-pro-15:env davidkuriakose$ bin/activate
>
> And got permission denied:
> -bash: bin/activate: Permission denied
Hi,
I think you want to use "source" as you normal development user:
$ source your_path/bin/activate

Best Regards,
Steve
http://googility.com

Reply all
Reply to author
Forward
0 new messages