1
0
Fork 0

docs: add update tips

This commit is contained in:
Tanimodori 2022-11-25 22:09:46 +08:00
parent 78d4898bcd
commit 15e46050ac
No known key found for this signature in database
GPG Key ID: 27779538B4410104
1 changed files with 23 additions and 0 deletions

View File

@ -18,6 +18,29 @@ In bitburner, select "Options > Remote API", enter the port of viteburner displa
## API ## API
See [viteburner](https://github.com/Tanimodori/viteburner/blob/main/README.md). See [viteburner](https://github.com/Tanimodori/viteburner/blob/main/README.md).
## How to update my clone to the latest version of the template
Usually you only need to upgrade viteburner using npm (or any other package manager you use).
```bash
npm i -D viteburner@latest
```
Or if you want to update all configs:
```bash
# add "upstream" to git remote in case you've overwritten the "origin"
git remote add upstream https://github.com/Tanimodori/viteburner-template.git
# fetch the updates from "upstream"
git fetch upstream
# perform the merge
git merge upstream/main
# NOTE: resolve git conflicts manually now.
# install packages if any gets updated.
npm i
```
## License ## License
[MIT License](LICENSE) © 2022-present Tanimodori [MIT License](LICENSE) © 2022-present Tanimodori