aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-06-26 11:03:57 +0300
committerMunyoki Kilyungi2023-06-26 11:03:57 +0300
commit94816f83eb2e3c15a5099e773548cd6f5000d210 (patch)
tree316ce82c0486ac05cde7f1d403ce691d6341b844 /README.md
parentce06a0515957e15f49be2f9187440576a02689c2 (diff)
downloadgn-transform-databases-94816f83eb2e3c15a5099e773548cd6f5000d210.tar.gz
Add "-m manifest.scm" flag to guix shell commands
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index feca941..0a4ada8 100644
--- a/README.md
+++ b/README.md
@@ -12,7 +12,7 @@ relational database to plain text.
Drop into a development environment with
``` shell
-$ guix shell
+$ guix shell -m manifest.scm
```
Build the sources.
@@ -77,7 +77,7 @@ Here's a sample *conn.scm*.
Then, to dump the database to \~/data/dump, run
``` shell
-$ ./pre-inst-env ./dump.scm conn.scm ~/data/dump
+$ guix shell -m manifest.scm -- ./pre-inst-env ./examples/dump-dataset-metadata.scm conn.scm ~/data/dump-data/
```
Make sure there is enough free space! It\'s best to dump the database on
@@ -92,8 +92,8 @@ virtuoso. This will load the dumped RDF into the
in that graph.
``` shell
-$ rapper --input turtle --count ~/data/dump/dump.ttl
-$ ./pre-inst-env ./load-rdf.scm conn.scm ~/data/dump/dump.ttl
+$ guix shell -m manifest.scm -- rapper --input turtle --count ~/data/dump/dump.ttl
+$ guix shell -m manifest.scm -- ./pre-inst-env ./load-rdf.scm conn.scm ~/data/dump/dump.ttl
```
## Visualize schema
@@ -101,7 +101,7 @@ $ ./pre-inst-env ./load-rdf.scm conn.scm ~/data/dump/dump.ttl
Now, you may query virtuoso to visualize the SQL and RDF schema.
``` shell
-$ ./pre-inst-env ./visualize-schema.scm conn.scm
+$ guix shell -m manifest.scm -- ./pre-inst-env ./visualize-schema.scm conn.scm
```
This will output graphviz dot files `sql.dot` and `rdf.dot` describing