51 lines
679 B
Plaintext
51 lines
679 B
Plaintext
# Upgrading
|
|
|
|
Pull the current version:
|
|
|
|
```bash
|
|
git pull
|
|
```
|
|
|
|
Check if dependencies got added/updated/removed
|
|
|
|
```bash
|
|
yarn
|
|
```
|
|
|
|
Apply database migrations by running **one of** the following commands:
|
|
|
|
In a development environment, run:
|
|
|
|
```bash
|
|
yarn workspace @calcom/prisma db-migrate
|
|
```
|
|
|
|
(this can clear your development database in some cases)
|
|
|
|
In a production environment, run:
|
|
|
|
```bash
|
|
yarn workspace @calcom/prisma db-deploy
|
|
```
|
|
|
|
Check for `.env` variables changes
|
|
|
|
```bash
|
|
yarn predev
|
|
```
|
|
|
|
Start the server. In a development environment, just do:
|
|
|
|
```bash
|
|
yarn dev
|
|
```
|
|
|
|
For a production build, run for example:
|
|
|
|
```bash
|
|
yarn build
|
|
yarn start
|
|
```
|
|
|
|
Enjoy the new version.
|