aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rust/README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/rust/README.md b/rust/README.md
index 618f6971..9242b599 100644
--- a/rust/README.md
+++ b/rust/README.md
@@ -15,6 +15,7 @@ blow the entire database away.
Create a `.env` file with configuration:
DATABASE_URL=postgres://fatcat:tactaf@localhost/fatcat_rs
+ TEST_DATABASE_URL=postgres://fatcat:tactaf@localhost/fatcat_rs_test
Re-create database from scratch:
@@ -24,6 +25,10 @@ Build and run:
cargo run
+Tests:
+
+ cargo test -- --test-threads 1
+
### Special Tricks
Regenerate API schemas: