kgriffs
baf3d2e372
Added some de-facto style guidelines to HACKING and fixed violations
This patch adds several guidelines: * Global constants should be ALL_CAPS (cfg => CFG) * Prefer single-quotes over double-quotes ("foo" => 'foo') * Place a space before TODO in comments ("#TODO" => "# TODO") Change-Id: Ib5b5c5916744856eca2ecaa37e949a3cdc4b3bd7
Marconi - Queue and Notification service for OpenStack
Steps to run Marconi server locally with MongoDB
Install mongodb locally
Start your local MongoDB instance:
mongod
Clone the Marconi repo:
git clone https://github.com/stackforge/marconi.git
cd to your local copy of the repo
Copy the Marconi config files to the directory ~/.marconi:
cp -r marconi/etc/*.conf-sample ~/.marconi
Update the [drivers:storage:mongodb] section in ~/.marconi/marconi.conf
6a. Comment out the uri pointing to replicaset:
;uri = mongodb://db1.example.net,db2.example.net:2500/?replicaSet=test&ssl=true&w=majority
6b. Add a new line with uri pointing to the local mongoDB instance:
uri = mongodb://localhost
Run the following command:
python setup.py develop
Start the marconi server:
marconi-server
Description
Languages
Python
96.2%
PHP
1.5%
Shell
1.2%
HTML
0.8%
Lua
0.2%