Community Edition Quick Installation Overview
If you’re already familiar with installing Pylons apps, here’s a ten-step run-down of how to install Baruwa.
If you’re not already familiar with the process, head to the main Community Edition installation page for a more detailed description of the process.
- Create and activate a new
virtualenv
. - Run
pip install -r requirements.txt
to install Baruwa and its dependencies. - For production, run
paster make-config baruwa production.ini
and to create a uniqueproduction.ini
config. On development machines there’s already adevelopment.ini
file for you to use. - Install the sphinx api which is not on PyPi run
curl https://sphinxsearch.googlecode.com/svn/trunk/api/sphinxapi.py -o \
path/to/virtualenv/lib/python2.6/site-packages/sphinxapi.py
- Apply required patches
- Configure your database credentials in the ini config file.
- Run
paster setup-app path/to/your/production.ini
to set up the database tables and create the admin user. - Start the celeryd daemon
paster celeryd path/to/your/production.ini
- Run
paster serve path/to/your/production.ini
and test it out! - Open your browser and point to http://127.0.0.1:8000