> --
> You received this message because you are subscribed to the Google Groups "django-lfs" group.
> To post to this group, send email to djang...@googlegroups.com.
> To unsubscribe from this group, send email to django-lfs+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/django-lfs?hl=en.
>
>
--
Andres Vargas
www.zodman.com.mx
> but when I copy
> and move it to another directory and run
Wouldn't it be easier to install it to the directory where you want to
use it in the first place.
> /usr/local/lib/python2.6/dist-packages/django/db/__init__.py:19:
> Django version 1.3, using settings 'shop.settings'
You are not using the version of Django installed by the LFS
buildout. LFS isn't currently compatible with Django 1.3.
For development (or production use) I would suggest you make use of the
structure created by the buildout - it will save you a lot of bother.
http://packages.python.org/django-lfs/introduction/installation.html
Regards,
M.
> I want to put it on apache2, I have to downgrade my django version
No, you don't.
You can have multiple Django versions running each in their own
virtualenv. You then create separate Apache VirtualHosts pointing to
your individual apps.
I would recommend you follow the LFS install document and get a
development version running first before attempting integration with
Apache.
Regards,
M.
> I now wanted to put that on the apache2
> server, to test it.
There are lots of ways to deploy the LFS shop. One way is to have
Gunicorn run the shop (you need to edit
lfs-installer/bin/django-gunicorn.sh to suit your needs). Then run
Gunicorn using this same script bin/django-gunicorn.sh.
Then use either a rewrite rule or ProxyPass from your Apache
VirtualHost to the Gunicorn server. Simple example:
ProxyPass / http://localhost:8000
ProxyPassReverse / http://localhost:8000
Regards,
M.