1
0
Fork 0
mirror of https://github.com/xHyroM/waki.git synced 2024-11-21 06:21:06 +01:00

docs: use bun

This commit is contained in:
Jozef Steinhübl 2024-08-05 22:38:41 +02:00
parent 2b08164e53
commit f82596b861
No known key found for this signature in database
GPG key ID: E6BC90C91973B08F

View file

@ -4,8 +4,7 @@ Runs fully on [Cloudflare Workers](https://workers.cloudflare.com/).
## Requirements
- [node.js](https://nodejs.org/)
- [pnpm](https://pnpm.js.org/)
- [bun](https://bun.sh)
- [cloudflare account](https://cloudflare.com)
## 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:
```bash
pnpm run deploy
bun run deploy
```
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 PROVIDERS
wrangler secret put MAIN_PROVIDER
```
```