From 0e5ca287570de54657f11723b8749ea688a2c11f Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 3 Oct 2019 13:35:37 -0700 Subject: update rust README with fatcat_test db creation note --- rust/README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'rust/README.md') 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: -- cgit v1.2.3