1
0
Fork 0
bitburner-scripts/README.md

47 lines
1.1 KiB
Markdown
Raw Normal View History

2022-10-22 20:16:11 +00:00
# Viteburner-template
This is a template for a viteburner project. It is a simple example of how to use Viteburner.
## How to use
Prerequisites: [Node.js](https://nodejs.org/en/download/)
```bash
git clone https://github.com/Tanimodori/viteburner-template.git
cd viteburner-template
npm i
npm run dev
```
In bitburner, select "Options > Remote API", enter the port of viteburner displays (default: `12525`) and click "Connect".
2022-10-22 20:25:52 +00:00
## API
See [viteburner](https://github.com/Tanimodori/viteburner/blob/main/README.md).
2022-11-25 14:09:46 +00:00
## 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
```
2022-10-22 20:16:11 +00:00
## License
[MIT License](LICENSE) © 2022-present Tanimodori