瀏覽代碼

update docs

david 7 年之前
父節點
當前提交
136ed7740e
共有 3 個文件被更改,包括 22 次插入3 次删除
  1. 8 3
      README.md
  2. 14 0
      docs/services.dot
  3. 二進制
      docs/services.png

+ 8 - 3
README.md

@@ -2,7 +2,7 @@
 
 * S3 (minio can be used for a local instance).
 * Redis
-* Postgresql
+* sqlite
 * Python3.6
 
 # Batch process
@@ -20,11 +20,16 @@ I executed:
 @Xon-new
 ```
 
-Then fetched all of the files, unarchived and concatenated them together.
-On the resulting file I ran `parse.py` which inserts it into postgres.
+Then fetched all of the files, unarchived, concatenated them together and
+deduped them.
+On the resulting file I ran `parse.py` which inserts it into the database.
 
 # Services
 
+## Diagram
+
+![](docs/services.png)
+
 ## Installation
 
 ```

+ 14 - 0
docs/services.dot

@@ -0,0 +1,14 @@
+digraph Services {
+   node [shape=rect];
+   rankdir=LR;
+   IRCClient
+   FileFetcher
+   Unpacker
+   WebAPI
+   BulkInserter
+   S3
+   DB
+
+   WebAPI -> IRCClient -> FileFetcher -> Unpacker -> S3
+   Unpacker -> BulkInserter -> DB
+}

二進制
docs/services.png