Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated readme

  • Loading branch information...
commit b900dc53d388a29d6766e51c4a2b51559bc59749 1 parent 4a82044
@wegrata wegrata authored
Showing with 19 additions and 0 deletions.
  1. +19 −0 Readme.md
View
19 Readme.md
@@ -15,24 +15,43 @@ Run `pip install -U -r requirements.txt`
All configuration is done in the src/celeryconfig.py file. For information of configuring Celery please see their [document](http://celery.readthedocs.org/en/latest/index.html). For lr-data configuration modify
`config = {
+
"lrUrl": "http://lrdev02.learningregistry.org/harvest/listrecords",
+
"mongodb":{
+
"database":"lr",
+
"collection":"envelope",
+
"host": "localhost",
+
"port": 27017,
+
},
+
"couchdb":{
+
"dbUrl":"http://localhost:5984/lr-data"
+
},
+
"insertTask":"tasks.save.insertDocumentMongo",
+
"validationTask":"tasks.validate.emptyValidate",
+
"redis":{
+
"host":"localhost",
+
"port":6379,
+
"db":0
+
}
+
}`
+
set `insertTask` to be the celery task you wish to use to save the data and modify `validationTask` to be your validation task
#Startup
To start run `celryd -B` from the source directory. To run as a deamon follow these [instructions](http://ask.github.com/celery/cookbook/daemonizing.html)
Please sign in to comment.
Something went wrong with that request. Please try again.