From bbf621fb18251670dd82c4fdf2788b08fbfd3641 Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Mon, 29 Jul 2024 19:19:07 -0600 Subject: [PATCH] make instructions for an Endorser server started from scratch --- README.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index d117f0a..9e81d38 100644 --- a/README.md +++ b/README.md @@ -75,17 +75,19 @@ At the test server: `npx playwright test` At the locally running server: -... after cloning and setting up https://github.com/trentlarson/endorser-ch and running `test/test.sh` -... and after you `npx playwright install chrome` -... then run these: + +* Clone and set up https://github.com/trentlarson/endorser-ch and run the following: ``` -# In the endorser-ch directory: +rm ../endorser-ch-test-local.sqlite3 +NODE_ENV=test-local npm run flyway migrate +NODE_ENV=test-local npm run test test/controller0 NODE_ENV=test-local npm run dev +``` -# Here: +* Now run the local tests: +``` npx playwright test -c playwright.config-local.ts ``` -`` ### Register new user on test server