Pinax Structure

136 Views Asked by At

I have just installed the Pinax but i'm very confused now.

in my structre

i have two directories

mysite and mysite-env

I dont why i have two directories. I just followed the installitation directions

in mysite,

<project-root>
    apps/
        __init__.py
    deploy/
        __init__.py
        fcgi.py
        wsgi.py
    fixtures/
        initial_data.json
    locale/
        ...
    requirements/
        base.txt
        project.txt
    sitemedia/static // I move static file from mysite-env to here
        ...
    templates/
        _footer.html
        homepage.html
        site_base.html
    __init__.py
    manage.py
    settings.py
    urls.py

However,

default index page is in mysite-env/lib/python2.6/site-packages/pinax_theme_bootstrap/templates/banner_base.html

Should i manage my site from mysite ?

1

There are 1 best solutions below

2
On BEST ANSWER

Pinax uses virtualenv to prevent messing up your local python libs by your project dependency.

So, launch the site with $ source mysite-env/bin/activate it will be fine. If you really hate mysite-env, just skip the virtualenv part.