Anshrathore01 commited on
Commit
bf1b6e3
Β·
verified Β·
1 Parent(s): 418ae45

Delete README_DEPLOY.md

Browse files
Files changed (1) hide show
  1. README_DEPLOY.md +0 -84
README_DEPLOY.md DELETED
@@ -1,84 +0,0 @@
1
- # πŸš€ Quick Deployment - READ THIS FIRST
2
-
3
- ## Easiest Way (One Command)
4
-
5
- 1. **Get your Hugging Face token:**
6
- - Go to: https://huggingface.co/settings/tokens
7
- - Click "New token"
8
- - Name it (e.g., "deployment")
9
- - Select "Write" permissions
10
- - Copy the token
11
-
12
- 2. **Run this command:**
13
- ```bash
14
- HF_TOKEN=your_token_here ./DEPLOY_NOW.sh
15
- ```
16
-
17
- Replace `your_token_here` with the token you copied.
18
-
19
- That's it! The script will:
20
- - βœ… Create the Space automatically
21
- - βœ… Set up git remote
22
- - βœ… Push your code
23
- - βœ… Start the build process
24
-
25
- ## Alternative: Manual Steps
26
-
27
- If you prefer manual control:
28
-
29
- ### Step 1: Create Space
30
- 1. Go to https://huggingface.co/spaces
31
- 2. Click "Create new Space"
32
- 3. Fill in:
33
- - **Space name**: `opinion-summarizer`
34
- - **SDK**: **Docker**
35
- - **Hardware**: CPU Basic (or GPU if available)
36
- 4. Click "Create Space"
37
-
38
- ### Step 2: Push Code
39
- ```bash
40
- # Set up remote (if not already done)
41
- git remote add space https://huggingface.co/spaces/Anshrathore01/opinion-summarizer
42
-
43
- # Push (will prompt for username and token)
44
- git push space main
45
- # Username: Anshrathore01
46
- # Password: [paste your HF token]
47
- ```
48
-
49
- ## Your Space URL
50
-
51
- Once deployed: **https://huggingface.co/spaces/Anshrathore01/opinion-summarizer**
52
-
53
- ## Build Time
54
-
55
- - First build: 10-15 minutes
56
- - Subsequent updates: 5-10 minutes
57
-
58
- Monitor progress in the Space's "Logs" tab.
59
-
60
- ## Troubleshooting
61
-
62
- **"Authentication failed"**
63
- - Make sure your token has "Write" permissions
64
- - Token should start with `hf_`
65
-
66
- **"Space not found"**
67
- - Create it manually first (see Alternative steps above)
68
- - Or use `DEPLOY_NOW.sh` which creates it automatically
69
-
70
- **"Build failed"**
71
- - Check the Logs tab in your Space
72
- - Ensure all artifacts are present
73
- - Verify Dockerfile is correct
74
-
75
- ## Files Ready for Deployment
76
-
77
- βœ… All deployment files are committed and ready:
78
- - `Dockerfile` - Production Docker config
79
- - `.dockerignore` - Build optimization
80
- - `requirements.txt` - All dependencies
81
- - `app.py` - Updated for port 7860
82
- - `README.md` - Space metadata
83
- - All artifacts included
84
-