Hi again. Finally I managed to setup Pootle using wsgi. The template for wsgi.py is in deploy/pootle.wsgi Thanks a lot for your help.
Óscar On Thu, Feb 7, 2013 at 2:43 PM, Óscar Frías Barranco <ofr...@gmail.com>wrote: > OK, thanks. After running collectstatic and assets build I can see the > homepage, but it is unformatted, without CSS. > > I am running it under Apache using mod_proxy (because it seems easier to > configure than wsgi and in addition I don't find wsgi.py file in the repo). > > I just added these lines to Apache under the corresponding virtualhost. > Maybe I have to add something else for the static files? > > ProxyPass / http://localhost:8000/ > ProxyPassReverse / http://localhost:8000/ > > Óscar > > > > On Thu, Feb 7, 2013 at 2:21 PM, Julen Ruiz Aizpuru <jul...@gmail.com>wrote: > >> og., 2013.eko otsren 07a 13:53(e)an, Óscar Frías Barranco(e)k idatzi zuen: >> > Hello. >> > >> > Thanks for your help. I managed to advance in the installation >> progress. >> > But now I am stuck in another point. After installing Pootle from git >> and >> > configuring Apache as a proxy I accessed Pootle homepage and saw how all >> > the languages were generated. However inmediately after that I was >> > redirected to an error page with this message: "A server error >> occurred. >> > Please contact the administrator." >> > >> > This is the stack trace printed by Pootle in the console. Any idea >> about >> > how to fix this? Maybe I have to run another command to generate the >> CSS >> > files? >> >> I guess you're running with `DEBUG = False`, so yes, you need to run >> >> $ manage.py collectstatic --noinput >> and >> $ manage.py assets build >> >> The first command will gather all the files in a single place — the path >> defined in the `STATIC_ROOT` Django setting (`pootle/assets/` by >> default) — and the second one will build the assets files. >> >> Bear in mind that your web server needs to serve this directory at >> `STATIC_URL` (`/assets/` is the default). >> >> >> ------------------------------------------------------------------------------ >> Free Next-Gen Firewall Hardware Offer >> Buy your Sophos next-gen firewall before the end March 2013 >> and get the hardware for free! Learn more. >> http://p.sf.net/sfu/sophos-d2d-feb >> _______________________________________________ >> Translate-pootle mailing list >> Translate-pootle@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/translate-pootle >> > > ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Translate-pootle mailing list Translate-pootle@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/translate-pootle