* --init * progress... * add more docs * bunch of changes and added back platform * development guides added * more guides in develop with cal * self hosted WIP * deployments * fix deployment steps * self-hosted guides * .. * Removed the development only sections * Removed 'with Cal.com' * use steps component for steps --------- Co-authored-by: Keith Williams <keithwillcode@gmail.com>
53 lines
685 B
Plaintext
53 lines
685 B
Plaintext
---
|
|
title: "Upgrading"
|
|
icon: "cloud-check"
|
|
---
|
|
|
|
Pull the current version:
|
|
|
|
```
|
|
git pull
|
|
```
|
|
|
|
Check if dependencies got added/updated/removed
|
|
|
|
```
|
|
yarn
|
|
```
|
|
|
|
Apply database migrations by running **one of** the following commands:
|
|
|
|
In a development environment, run:
|
|
|
|
```
|
|
yarn workspace @calcom/prisma db-migrate
|
|
```
|
|
|
|
(this can clear your development database in some cases)
|
|
|
|
In a production environment, run:
|
|
|
|
```
|
|
yarn workspace @calcom/prisma db-deploy
|
|
```
|
|
|
|
Check for `.env` variables changes
|
|
|
|
```
|
|
yarn predev
|
|
```
|
|
|
|
Start the server. In a development environment, just do:
|
|
|
|
```
|
|
yarn dev
|
|
```
|
|
|
|
For a production build, run for example:
|
|
|
|
```
|
|
yarn build
|
|
yarn start
|
|
```
|
|
|
|
Enjoy the new version. |