aboutsummaryrefslogtreecommitdiffstats
path: root/rust/README.md
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-05-15 22:10:05 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-05-15 22:10:05 -0700
commit1080766f12ac63e9d62ed623ec2d8368b9c1c7ce (patch)
treee966daac800c0763e870a493f79e8dd7e883e229 /rust/README.md
parent6e96f5e6e409f2bf2c389c7315f0747ab9e24d00 (diff)
downloadfatcat-1080766f12ac63e9d62ed623ec2d8368b9c1c7ce.tar.gz
fatcat-1080766f12ac63e9d62ed623ec2d8368b9c1c7ce.zip
basic error/response handling
Diffstat (limited to 'rust/README.md')
-rw-r--r--rust/README.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/rust/README.md b/rust/README.md
index f539e4fb..794afee7 100644
--- a/rust/README.md
+++ b/rust/README.md
@@ -9,6 +9,13 @@ Things!
diesel print-schema > src/database_schema.rs
+Regenerate API schemas:
+
+ cargo swagger fatcat-openapi2.yml fatcat-api --docker-tag=v2.3.1
+ sudo chown `whoami`:`whoami` -R fatcat-api
+ # edit fatcat-api/Cargo.toml, set name to "fatcat-api"
+ cargo fmt
+
Debugging SQL errors:
psql fatcat_rs < migrations/2018-05-12-001226_init/up.sql