mirror of
https://github.com/apotdevin/thunderhub.git
synced 2025-02-21 14:04:03 +01:00
docs: 📚️ add update info
This commit is contained in:
parent
077e20d7da
commit
b349e999d8
1 changed files with 23 additions and 2 deletions
25
README.md
25
README.md
|
@ -9,6 +9,7 @@
|
|||
- [Integrations](#integrations)
|
||||
- [Features](#features)
|
||||
- [Installation](#installation)
|
||||
- [Updating](#updating)
|
||||
- [Development](#development)
|
||||
- [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.
|
||||
|
||||
```javascript
|
||||
//Yarn
|
||||
// Yarn
|
||||
yarn build
|
||||
yarn start
|
||||
|
||||
//NPM
|
||||
// NPM
|
||||
npm run build
|
||||
npm start
|
||||
```
|
||||
|
@ -223,6 +224,26 @@ yarn 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
|
||||
|
||||
If you want to develop on ThunderHub and want hot reloading when you do changes, use the following commands:
|
||||
|
|
Loading…
Add table
Reference in a new issue