docs: add testing info, tweak tasks

This commit is contained in:
2023-01-19 21:29:45 -07:00
parent 68eb04c137
commit fa01125c84
2 changed files with 22 additions and 6 deletions

View File

@@ -42,11 +42,15 @@ New users require registration. This can be done with a claim payload like this
};
```
On the test server, the user starting 0x000 has rights to register others, and the keys for that test User #0 are found in the codebase. You can invoke registration by User #0 on the `/account` page:
On the test server, the user starting 0x000 has rights to register others, so you can start playing one of two ways:
* Edit the `src/views/AccountViewView.vue` file and uncomment the lines referring to "test".
- Import the keys for that test User #0 by importing this seed phrase: `seminar accuse mystery assist delay law thing deal image undo guard initial shallow wrestle list fragile borrow velvet tomorrow awake explain test offer control`
* Use the [Vue Devtools browser extension](https://devtools.vuejs.org/) and type this into the console: `$vm.ctx.testRegisterUser()`
- Register someone else under User #0 on the `/account` page:
* Edit the `src/views/AccountViewView.vue` file and uncomment the lines referring to "test".
* Use the [Vue Devtools browser extension](https://devtools.vuejs.org/) and type this into the console: `$vm.ctx.testRegisterUser()`