Update README.md

pull/2525/head
Omar López 2022-04-15 21:02:35 -06:00 committed by GitHub
parent faa67e0bb6
commit 56c32beebc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 14 deletions

View File

@ -189,10 +189,8 @@ echo 'NEXT_PUBLIC_DEBUG=1' >> .env
### E2E-Testing ### E2E-Testing
```sh ```sh
# In first terminal. Must run on port 3000. # In a terminal. Just run:
yarn dx yarn test-e2e
# In second terminal
yarn workspace @calcom/web test-e2e
# To open last HTML report run: # To open last HTML report run:
yarn workspace @calcom/web playwright-report yarn workspace @calcom/web playwright-report
@ -206,7 +204,13 @@ yarn workspace @calcom/web playwright-report
git pull git pull
``` ```
2. Apply database migrations by running <b>one of</b> the following commands: 1. Check if dependencies got added/updated/removed
```sh
yarn
```
1. Apply database migrations by running <b>one of</b> the following commands:
In a development environment, run: In a development environment, run:
@ -222,16 +226,13 @@ yarn workspace @calcom/web playwright-report
yarn workspace @calcom/prisma db-deploy yarn workspace @calcom/prisma db-deploy
``` ```
3. Check the `.env.example` and compare it to your current `.env` file. In case there are any fields not present 1. Check for `.env` variables changes
in your current `.env`, add them there.
For the current version, especially check if the variable `BASE_URL` is present and properly set in your environment, for example: ```sh
yarn predev
```
``` 1. Start the server. In a development environment, just do:
BASE_URL='https://yourdomain.com'
```
4. Start the server. In a development environment, just do:
```sh ```sh
yarn dev yarn dev
@ -244,7 +245,7 @@ yarn workspace @calcom/web playwright-report
yarn start yarn start
``` ```
5. Enjoy the new version. 1. Enjoy the new version.
<!-- DEPLOYMENT --> <!-- DEPLOYMENT -->
## Deployment ## Deployment