mirror of
https://github.com/xHyroM/waki.git
synced 2024-11-21 14:31:07 +01:00
docs: use bun
This commit is contained in:
parent
2b08164e53
commit
f82596b861
1 changed files with 3 additions and 4 deletions
|
@ -4,8 +4,7 @@ Runs fully on [Cloudflare Workers](https://workers.cloudflare.com/).
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
- [node.js](https://nodejs.org/)
|
- [bun](https://bun.sh)
|
||||||
- [pnpm](https://pnpm.js.org/)
|
|
||||||
- [cloudflare account](https://cloudflare.com)
|
- [cloudflare account](https://cloudflare.com)
|
||||||
|
|
||||||
## How to setup
|
## How to setup
|
||||||
|
@ -13,7 +12,7 @@ Runs fully on [Cloudflare Workers](https://workers.cloudflare.com/).
|
||||||
After cloning the repository and installing the dependencies, you need to run the following command to deploy the worker:
|
After cloning the repository and installing the dependencies, you need to run the following command to deploy the worker:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pnpm run deploy
|
bun run deploy
|
||||||
```
|
```
|
||||||
|
|
||||||
Then, you need to set the following environment variables in your Cloudflare account:
|
Then, you need to set the following environment variables in your Cloudflare account:
|
||||||
|
@ -30,4 +29,4 @@ You can set the environment variables using the Cloudflare dashboard or using th
|
||||||
wrangler secret put API_TOKEN
|
wrangler secret put API_TOKEN
|
||||||
wrangler secret put PROVIDERS
|
wrangler secret put PROVIDERS
|
||||||
wrangler secret put MAIN_PROVIDER
|
wrangler secret put MAIN_PROVIDER
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue