Created
September 15, 2009 04:02
-
-
Save byroncorrales/187104 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-------Crear una app con django y modpython | |
Crear una app para el media del tipo "Static/CGI/PHP" (usada para servir el contenido estatico) | |
Crear una nueva carpeta dentro de webapp con el proyecto de django | |
Sustituir el apache conf | |
SetEnv DJANGO_SETTINGS_MODULE my_existing_project.settings | |
para servir el contenido estatico hay que agregar la locacion del media al apache para que no lo haga en django | |
<Location "/images"> | |
SetHandler None | |
</Location> | |
Ir al panel a website aplicactions .... | |
Seleccionar el website de tu aplicacion | |
Agregarle la app de media que se creo anteriormente con el path /media | |
###/home/bcorrales/sissan/lib/python2.5/django/contrib/admin/media | |
Crear enlaces simbolicos del admin | |
ln -s /home/bcorrales/webapps/sissan/lib/python2.5/django/contrib/admin/media/css /home/bcorrales/webapps/media/css | |
ln -s /home/bcorrales/webapps/sissan/lib/python2.5/django/contrib/admin/media/js /home/bcorrales/webapps/media/js | |
ln -s /home/bcorrales/webapps/sissan/lib/python2.5/django/contrib/admin/media/img /home/bcorrales/webapps/media/img | |
http://forum.webfaction.com/viewtopic.php?id=29 | |
https://help.webfaction.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=122 | |
http://forum.webfaction.com/viewtopic.php?id=1987 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment