Simplify README and remove template branding.
Replace the default template content with concise local setup instructions and project scripts for easier onboarding. Made-with: Cursor
This commit is contained in:
30
README.md
30
README.md
@@ -1,18 +1,28 @@
|
||||
<div align="center">
|
||||
<img width="1200" height="475" alt="GHBanner" src="https://github.com/user-attachments/assets/0aa67016-6eaf-458a-adb2-6e31a0763ed6" />
|
||||
</div>
|
||||
# Dify Batch Tester
|
||||
|
||||
# Run and deploy your app
|
||||
A simple web app for batch testing prompts/workflows.
|
||||
|
||||
This contains everything you need to run your app locally.
|
||||
## Requirements
|
||||
|
||||
## Run Locally
|
||||
|
||||
**Prerequisites:** Node.js
|
||||
- Node.js 18+
|
||||
|
||||
## Local Development
|
||||
|
||||
1. Install dependencies:
|
||||
`npm install`
|
||||
2. Set the `GEMINI_API_KEY` in [.env.local](.env.local) to your Gemini API key
|
||||
3. Run the app:
|
||||
2. Create local env file:
|
||||
`cp .env.example .env.local`
|
||||
3. Update `.env.local` with your keys/values:
|
||||
- `GEMINI_API_KEY`
|
||||
- `APP_URL`
|
||||
4. Start the dev server:
|
||||
`npm run dev`
|
||||
5. Open:
|
||||
[http://localhost:3000](http://localhost:3000)
|
||||
|
||||
## Scripts
|
||||
|
||||
- `npm run dev` - start development server
|
||||
- `npm run build` - build for production
|
||||
- `npm run preview` - preview production build
|
||||
- `npm run lint` - run TypeScript checks
|
||||
|
||||
Reference in New Issue
Block a user