make instructions for an Endorser server started from scratch

This commit is contained in:
2024-07-29 19:19:07 -06:00
parent 421101a2c9
commit 5334c5970b

View File

@@ -75,17 +75,19 @@ At the test server:
`npx playwright test` `npx playwright test`
At the locally running server: 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:
```
# In the endorser-ch directory:
NODE_ENV=test-local npm run dev
# Here: * Clone and set up https://github.com/trentlarson/endorser-ch and run the following:
```
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
```
* Now run the local tests:
```
npx playwright test -c playwright.config-local.ts npx playwright test -c playwright.config-local.ts
``` ```
``
### Register new user on test server ### Register new user on test server