You are correct, only postgres support is included right now.
On 2012-10-19 03:35, Anis Jendoubi wrote:
This might be a dumb question from my side, what is the DB that can
be used with the default compilation of Baruwa 2.0? is it PostgreSQL
or MySQL? I feel like the default one is Postrgres and if I want to
do
it on MySQL I have to developp/modify the code for baruwa v2.0 to run
on it, Am I wrong?
Thanks for clarifying what Baruwa 2.0 need with the default source
code (without having to modify it).
Anis
On 15 October 2012 12:04, Anis Jendoubi <[email protected]>
wrote:
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 BARUWA WARNING:
NUMERICAL LINKS ARE OFTEN MALICIOUS: http://127.0.0.1:8080 [1] 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]
[2] https://projects.unbit.it/uwsgi/wiki/Example [3]
--
www.baruwa.org [4]
_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056 [5]
Links:
------
[1] http://127.0.0.1:8080
[2] https://code.google.com/p/modwsgi/wiki/IntegrationWithPylons
[3] https://projects.unbit.it/uwsgi/wiki/Example
[4] http://www.baruwa.org
[5] http://pledgie.com/campaigns/12056
_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056
_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056