docs: 📚️ add update info

This commit is contained in:
AP 2020-05-23 19:30:04 +02:00
parent 077e20d7da
commit b349e999d8

View file

@ -9,6 +9,7 @@
- [Integrations](#integrations) - [Integrations](#integrations)
- [Features](#features) - [Features](#features)
- [Installation](#installation) - [Installation](#installation)
- [Updating](#updating)
- [Development](#development) - [Development](#development)
- [Docker deployment](#docker) - [Docker deployment](#docker)
@ -202,11 +203,11 @@ After cloning the repository run `yarn` or `npm install` to get all the necessar
After all the dependencies have finished installing, you can proceed to build and run the app with the following commands. After all the dependencies have finished installing, you can proceed to build and run the app with the following commands.
```javascript ```javascript
//Yarn // Yarn
yarn build yarn build
yarn start yarn start
//NPM // NPM
npm run build npm run build
npm start npm start
``` ```
@ -223,6 +224,26 @@ yarn start -p 4000
npm start -- -p 4000 npm start -- -p 4000
``` ```
## Updating
To update ThunderHub to the latest version follow these commands.
_Commands have to be called inside the thunderhub repository folder._
```js
// Yarn
git pull
yarn
yarn build
yarn start
// NPM
git pull
npm install
npm run build
npm run start
```
## Development ## Development
If you want to develop on ThunderHub and want hot reloading when you do changes, use the following commands: If you want to develop on ThunderHub and want hot reloading when you do changes, use the following commands: