summaryrefslogtreecommitdiffstats
path: root/rust/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'rust/README.md')
-rw-r--r--rust/README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/rust/README.md b/rust/README.md
index 1f2beb60..8d9084c3 100644
--- a/rust/README.md
+++ b/rust/README.md
@@ -4,3 +4,11 @@ Things!
sudo apt install libsqlite3-dev libpq-dev
wget https://oss.sonatype.org/content/repositories/snapshots/io/swagger/swagger-codegen-cli/3.0.0-SNAPSHOT/swagger-codegen-cli-3.0.0-20180411.134218-60.jar
+
+ cargo swagger ../golang/fatcat-openapi2.yml gen-out
+
+ diesel print-schema > src/database_schema.rs
+
+Debugging SQL errors:
+
+ psql fatcat_rs < migrations/2018-05-12-001226_init/up.sql