summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-10-03 13:35:37 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-10-03 13:35:37 -0700
commit0e5ca287570de54657f11723b8749ea688a2c11f (patch)
tree4974b4e7b5ed6842f66d4742e0d33f0a8bfab7db
parent1cb871a0f7a276db09a1c2705cd7cc7bb9cff721 (diff)
downloadfatcat-0e5ca287570de54657f11723b8749ea688a2c11f.tar.gz
fatcat-0e5ca287570de54657f11723b8749ea688a2c11f.zip
update rust README with fatcat_test db creation note
-rw-r--r--rust/README.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/rust/README.md b/rust/README.md
index 875bd274..c0bfa52d 100644
--- a/rust/README.md
+++ b/rust/README.md
@@ -43,9 +43,12 @@ Copy `./example.env` to `./.env` and update the `DATABASE_URL` and
As your regular user, use `diesel` to create and initialize the `fatcat`
database (`diesel` and the fatcat tools will automatically use postgresql
-credentials from the `.env` file):
+credentials from the `.env` file) as well as the `fatcat_test` database for
+automated tests:
+ source .env
diesel database reset
+ DATABASE_URL=$TEST_DATABASE_URL diesel database reset
Build and run the API server: