mirror of
https://github.com/ArthurDanjou/artapi.git
synced 2026-01-14 14:24:21 +01:00
Add wrangler login command and clarify Bun usage
Co-authored-by: ArthurDanjou <29738535+ArthurDanjou@users.noreply.github.com>
This commit is contained in:
10
README.md
10
README.md
@@ -89,9 +89,11 @@ This project uses:
|
||||
|
||||
### Prerequisites
|
||||
|
||||
- Node.js 18+ or Bun runtime
|
||||
- Node.js 18+ (or Bun 1.0+ as an alternative runtime)
|
||||
- pnpm 10.12.1+ (package manager)
|
||||
|
||||
> **Note:** This project is primarily developed with Node.js and pnpm. Bun can be used as a drop-in replacement for Node.js runtime.
|
||||
|
||||
### Installation
|
||||
|
||||
```bash
|
||||
@@ -156,10 +158,14 @@ pnpm preview
|
||||
Deploy to NuxtHub/Cloudflare:
|
||||
|
||||
```bash
|
||||
# First time: Login to Cloudflare
|
||||
wrangler login
|
||||
|
||||
# Deploy the application
|
||||
pnpm deploy
|
||||
```
|
||||
|
||||
> **Note:** Make sure you have proper Cloudflare credentials configured via `wrangler` CLI.
|
||||
> **Note:** Make sure you have proper Cloudflare credentials configured. Run `wrangler login` to authenticate if this is your first deployment.
|
||||
|
||||
## 📚 API Endpoints
|
||||
|
||||
|
||||
Reference in New Issue
Block a user