mirror of
https://github.com/hcengineering/platform.git
synced 2025-05-30 04:05:39 +00:00
update docs (#1277)
This commit is contained in:
parent
48b3f3facc
commit
859640ca5e
36
README.md
36
README.md
@ -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.
|
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
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user