update docs (#1277)

This commit is contained in:
Anna No 2022-04-04 18:11:37 +07:00 committed by GitHub
parent 48b3f3facc
commit 859640ca5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,3 +49,39 @@ rushx run-local assign-workspace user1 ws1 # Assign worksapce to user
```
Following URL http://localhost:8081/login:component:LoginApp will lead us to app.
## Update project structure and database
If projects structure is updated it might be needed to relink and rebuild projects.
```bash
rush update
rush build
```
It also might be required to upgrade running database.
```bash
cd ./dev/tool
rushx upgrade
```
## Tests
### Unit tests
```bash
rush lint
```
### UI tests
```bash
cd ./tests
rush build
rush bundle
rush docker:build
## creates test docker containers and setups test database
./prepare.sh
## runs UI tests
rushx uitest
```