summaryrefslogtreecommitdiffstats
path: root/dcae-cli/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'dcae-cli/README.md')
-rw-r--r--dcae-cli/README.md16
1 files changed, 14 insertions, 2 deletions
diff --git a/dcae-cli/README.md b/dcae-cli/README.md
index bcbc065..2806f5e 100644
--- a/dcae-cli/README.md
+++ b/dcae-cli/README.md
@@ -1,7 +1,19 @@
# dcae-cli
-The DCAE on-boarding Python command-line tool that provides functionality to manage data formats and components.
+The `dcae-cli` is a Python command-line tool used to manage and to test components and their data formats in onboarding.
## Documentation
-Please review the [DCAE platform documentation](ONAP URL TBD) which has a [`dcae-cli` walkthrough](ONAP URL TBD).
+Please review the [DCAE platform documentation](ONAP URL TBD) which has a detailed [`dcae-cli` walkthrough](ONAP URL TBD).
+
+## Local use
+
+The dcae-cli requires access to an onboarding catalog which is a postgres database. If there is no shared instance for your team or organization, then a workaround is to run a local instance of postgres on your machine. One quick way is to run a postgres Docker container:
+
+```
+docker run -e POSTGRES_PASSWORD=<your password> -e PGDATA=/var/lib/postgresql/data/pgdata -v <local directory>:/var/lib/postgresql/data/pgdata -p 5432:5432 -d postgres:9.5.2
+```
+
+Use your favorite sql client to log into this local instance and create a database named `dcae_onboarding_db`.
+
+Now that your onboarding catalog is setup, run `dcae_cli --reinit` and walkthrough the prompts to configure your dcae-cli to point to this local instance.