Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflorent <florent@toopy.org>2011-12-22 01:48:31 (GMT)
committer florent <florent@toopy.org>2011-12-22 01:48:31 (GMT)
commit421b59e9d285204ace15b709af341a36ff49be85 (patch)
tree48f8042150920dd72b58dc8ea5814404a5b804c4
parent7529605d31cc423392c1ca8b668c2cde3ed42575 (diff)
add README file
-rw-r--r--README59
1 files changed, 59 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..b615f6b
--- /dev/null
+++ b/README
@@ -0,0 +1,59 @@
+Datastore Reader
+================
+
+Datastore is a simple tool written to parse sugar metadata files from
+backuped XO archives in a given folder.
+
+
+Install
+-------
+
+To install the datastore_reader lib, you need python and easy_install tool.
+Just in case, you can download the easy_install init script here::
+
+ http://peak.telecommunity.com/dist/ez_setup.py
+
+
+... and install it::
+
+ $ python ez_setup.py
+
+
+You should now be able to easy_install the datastore_reader as follow::
+
+ $ easy_install datastore_reader
+
+
+Run
+---
+
+The first datastore_reader entry point is called `moulinette`. It extract and
+parse metadata from backups to csv files.
+
+By default, archives should be in a sub-folder named `data` in the current
+folder, ex::
+
+ ./data
+ ./data/archive-1.tar.bz2
+ ./data/archive-2.tar.bz2
+ ./data/archive-3.tar.bz2
+ ...
+
+
+All archives should have the .tar.bz2 extension. Here is the command to trigger
+the first reader application::
+
+ $ moulinette
+
+
+At the end, you should find 2 new folders in the data floder::
+
+ ./data/tmp
+ ./data/out
+
+
+In `tmp` sub-folder we have the extracted files from the parsing process.
+All files are re-extracted each time and the tmp folder can be removed after.
+
+In the `out` folder we find the .csv results of the moulinette script.
+