aboutsummaryrefslogtreecommitdiffstats
path: root/rust
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-06-03 20:23:32 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-06-03 20:23:32 -0700
commit22df32157f4846a4069d76c47f0adb3ad073a7bc (patch)
treeff5fddbcbcf7707f5ab1b6af9bf78164366d0d12 /rust
parentf0be35e8031032cda3a98a3b4a79d4e4d6866817 (diff)
downloadfatcat-22df32157f4846a4069d76c47f0adb3ad073a7bc.tar.gz
fatcat-22df32157f4846a4069d76c47f0adb3ad073a7bc.zip
move export README info to sql_dumps doc
Diffstat (limited to 'rust')
-rw-r--r--rust/README.export.md17
-rw-r--r--rust/README.md2
2 files changed, 1 insertions, 18 deletions
diff --git a/rust/README.export.md b/rust/README.export.md
deleted file mode 100644
index 44ca8afd..00000000
--- a/rust/README.export.md
+++ /dev/null
@@ -1,17 +0,0 @@
-
-First create ident files, following `../extra/sql_dumps/README.md`.
-
-Then, to dump locally to stdout:
-
- cat /tmp/fatcat_ident_releases.tsv | ./target/debug/fatcat-export releases
-
-Or, in production, as the fatcat user:
-
- cat /tmp/fatcat_ident_releases.tsv | ./target/release/fatcat-export release --expand files,filesets,webcaptures,container -j8 | pigz > /srv/fatcat/snapshots/release_export_expanded.json.gz
- cat /tmp/fatcat_ident_releases.tsv | ./target/release/fatcat-export release -j8 | pigz > /srv/fatcat/snapshots/release_export.json.gz
- cat /tmp/fatcat_ident_creators.tsv | ./target/release/fatcat-export creator -j8 | pigz > /srv/fatcat/snapshots/creator_export.json.gz
- cat /tmp/fatcat_ident_containers.tsv | ./target/release/fatcat-export container -j8 | pigz > /srv/fatcat/snapshots/container_export.json.gz
- cat /tmp/fatcat_ident_files.tsv | ./target/release/fatcat-export file -j8 | pigz > /srv/fatcat/snapshots/file_export.json.gz
- cat /tmp/fatcat_ident_filesets.tsv | ./target/release/fatcat-export fileset -j8 | pigz > /srv/fatcat/snapshots/fileset_export.json.gz
- cat /tmp/fatcat_ident_webcaptures.tsv | ./target/release/fatcat-export webcapture -j8 | pigz > /srv/fatcat/snapshots/webcapture_export.json.gz
-
diff --git a/rust/README.md b/rust/README.md
index e191d03e..cba926dc 100644
--- a/rust/README.md
+++ b/rust/README.md
@@ -5,7 +5,7 @@ Rust implementation of fatcat API server. Commands include:
- `fatcat-auth`: privileged command to manage authentication keys, tokens, and
accounts. Useful to generate admin accounts, new signing keys, etc.
- `fatcat-export`: high-speed JSON export tool, which talks directly to the
- database (instead of going through the API). See `README.export.md`.
+ database (instead of going through the API).
The `fatcat-api-spec` crate is generated from the openapi/swagger spec and
contains Rust models, response types, and endpoint definitions (but not