make instructions for an Endorser server started from scratch
This commit is contained in:
18
README.md
18
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:
|
||||
```
|
||||
# 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
|
||||
```
|
||||
``
|
||||
|
||||
### Register new user on test server
|
||||
|
||||
|
||||
Reference in New Issue
Block a user