Cool, I will try the below on free time and will let you know... in the mean time, if anyone else has come up with a more detailed how-to document, it would be great! Thanks, Anis
On 15 October 2012 11:48, Andrew Colin Kissa <[email protected]> wrote: > > On 15 Oct 2012, at 11:17 AM, Anis Jendoubi wrote: > > > well... I compiled the Baruwa 2 successfully after a bit of pain > installing/compiling the dependencies, now I don't know what to do next to > get the login page, which folder to map into virtualhost on apache and what > is the recommended virtualhost configuration (can I use the one from the > Baruwa 1.0 documentation?), I have virtualenv installed but I'm not sure if > it's working properly, I compiled the baruwa from the folder in > virtualenv, is that correct? > > It might seem that my questions are stupid, but after more than a year > not touching to the current Baruwa 1.1.0 install I've made, I forgot few > things :( > > You first need to make sure your install works before you hook it up to a > web server. The instructions are in the README file but > i will repeat them here. > > Create configuration file from the template > > # paster make-config baruwa config.ini > > Setup the app, this will create the database tables and create the sql > custom functions and also allow you to create an admin user > > # paster setup-app config.ini > > Run the test server, if it runs you can got to http://127.0.0.1:8080 and > login > > paster serve config.ini > > If all that works you then hook the server up into a WSGI server of your > choice, you can use mod_wsgi[1], uwsgi[2] etc etc > > Edit the baruwa.wsgi file and then point your WSGI server to that file. > > > @Andrew: is it the same process as with Baruwa 1.0 documentation to > install from source? or there is a lot of difference? as I might be able to > produce a document but might need some additional help (it might take me > few weeks thought, due to my other, more important, business duties) > > There are lots of differences, Baruwa 1.x is built using Django, Baruwa > 2.x is built using Pylons. > > If you have any issues, just google and see how others deploy pylons > applications to the WSGI server of your choosing > > [1] https://code.google.com/p/modwsgi/wiki/IntegrationWithPylons > [2] https://projects.unbit.it/uwsgi/wiki/Example > > > > -- > www.baruwa.org > > > > > _______________________________________________ > Keep Baruwa FREE - http://pledgie.com/campaigns/12056 >
_______________________________________________ Keep Baruwa FREE - http://pledgie.com/campaigns/12056

