2begyb commited on
Commit
ce3390f
·
verified ·
1 Parent(s): 385cf6b

Fix: Update Dockerfile and README metadata for proper deployment

Browse files
Files changed (1) hide show
  1. README.md +17 -8
README.md CHANGED
@@ -1,17 +1,26 @@
1
  ---
2
- title: HackingFactory v2
3
  emoji: 🏭
4
- colorFrom: green
5
- colorTo: blue
6
  sdk: docker
7
  pinned: false
 
8
  app_port: 7860
 
 
 
 
 
9
  ---
10
 
11
- # HackingFactory v2 - AI Self-Refining System
12
 
13
- This is an advanced AI-powered code generation and evaluation system.
14
 
15
- ## Deployment Info
16
- Running as a Docker Space on Hugging Face.
17
- Port: 7860
 
 
 
 
1
  ---
2
+ title: HackingFactory V2
3
  emoji: 🏭
4
+ colorFrom: red
5
+ colorTo: gray
6
  sdk: docker
7
  pinned: false
8
+ license: mit
9
  app_port: 7860
10
+ variables:
11
+ VITE_APP_ID: "hacking-factory-v2"
12
+ JWT_SECRET: "your-secret-here"
13
+ DATABASE_URL: "mysql://user:pass@host:3306/db"
14
+ BUILT_IN_FORGE_API_KEY: "SEE_SECRETS"
15
  ---
16
 
17
+ # HackingFactory v2 - Enhanced Self-Refining AI
18
 
19
+ This space runs an advanced AI factory for generating, testing, and refining code.
20
 
21
+ ## Configuration
22
+
23
+ Ensure you have set the following secrets in your Space settings:
24
+ - `BUILT_IN_FORGE_API_KEY`: Your Hugging Face API Token (provided).
25
+ - `DATABASE_URL`: Your TiDB or MySQL connection string.
26
+ - `JWT_SECRET`: A random string for authentication.