From 7053437152830aa711d74a68d9a36ce476e47ee4 Mon Sep 17 00:00:00 2001 From: Xi Xu Date: Mon, 21 Jul 2025 11:09:01 +0800 Subject: [PATCH] Update README with corrected repo name and formatting Changed repository references from 'xdpl' to 'XDPL' for consistency and updated code block indentation for improved readability in setup and deployment instructions. --- README.md | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index 8970c80..207c4d9 100644 --- a/README.md +++ b/README.md @@ -28,22 +28,22 @@ A lightweight proxy server for DeepL Translator built with [Nitro](https://nitro 1. Clone the repository: -```bash -git clone https://github.com/xixu-me/xdpl.git -cd xdpl -``` + ```bash + git clone https://github.com/xixu-me/XDPL.git + cd XDPL + ``` 2. Install dependencies: -```bash -pnpm install -``` + ```bash + pnpm install + ``` 3. Start the development server: -```bash -pnpm dev -``` + ```bash + pnpm dev + ``` The server will start on `http://localhost:3000` @@ -76,7 +76,7 @@ fetch('https://your-domain.vercel.app/jsonrpc', { ### Deploy to Vercel -[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/xixu-me/xdpl) +[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/xixu-me/XDPL) #### Option 1: One-Click Deploy @@ -86,27 +86,27 @@ Click the "Deploy with Vercel" button above to deploy instantly. 1. Install Vercel CLI: -```bash -npm i -g vercel -``` + ```bash + npm i -g vercel + ``` 2. Login to your Vercel account: -```bash -vercel login -``` + ```bash + vercel login + ``` 3. Deploy from your project directory: -```bash -vercel -``` + ```bash + vercel + ``` 4. For production deployment: -```bash -vercel --prod -``` + ```bash + vercel --prod + ``` #### Option 3: Deploy via Git Integration