From 6143c54ff2e9bd48b7f60bc733d5398cf4e91538 Mon Sep 17 00:00:00 2001 From: Zachary Priest <19195413+zakaray24@users.noreply.github.com> Date: Thu, 2 Sep 2021 15:49:08 -0600 Subject: [PATCH] Update README.md --- db_setup/README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/db_setup/README.md b/db_setup/README.md index 0ceabcb6..21bb660d 100644 --- a/db_setup/README.md +++ b/db_setup/README.md @@ -5,8 +5,11 @@ I recommend using a virtual environment. A poetry project file is available. The main use at this time is to build and load a database with STIX data. build_db.py - Working script that can build a database and recursively run through a directory of STIX files or load an STIX individual file. - - Usage: python build_db.py --dbname= --path= | --destroy - - The destroy flag tells the system to destroy the database with dbname. + - Usage: + + python build_db.py --dbname= --path= | --destroy + +The destroy flag tells the system to destroy the database with dbname flag. # INSTALL This has been tested on OrientDB v3.0.31 with Python 3.7.7 and poetry version 1.0.10. @@ -20,7 +23,7 @@ export ORIENT_HOST= export ORIENT_PORT=2424 export ORIENT_USER= export ORIENT_PASS= -python build_db.py --dbname=ExampleDB --path=/path/to/STIX/file(s) --keep +python build_db.py --dbname=ExampleDB --path=/path/to/STIX/file(s) --destroy ``` # TODO: