-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeploy-setup.sh
More file actions
41 lines (38 loc) Β· 1.09 KB
/
deploy-setup.sh
File metadata and controls
41 lines (38 loc) Β· 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/bin/bash
echo "π Text Annotation Agent - Deployment Setup"
echo "==========================================="
echo ""
# Check if git is initialized
if [ ! -d .git ]; then
echo "π¦ Initializing git repository..."
git init
git add .
git commit -m "Initial commit: AI Text Annotation Agent"
echo "β
Git initialized"
else
echo "β
Git already initialized"
fi
echo ""
echo "π Next steps:"
echo ""
echo "1. Create a GitHub repository at https://github.com/new"
echo ""
echo "2. Run these commands:"
echo " git remote add origin YOUR_GITHUB_REPO_URL"
echo " git branch -M main"
echo " git push -u origin main"
echo ""
echo "3. Deploy to Render.com:"
echo " - Go to https://render.com"
echo " - Sign up/login"
echo " - Click 'New +' β 'Web Service'"
echo " - Connect your GitHub repository"
echo " - Add environment variable: GEMINI_API_KEY"
echo " - Click 'Create Web Service'"
echo ""
echo "4. Wait 5-10 minutes for deployment"
echo ""
echo "5. Share your live URL with others for feedback!"
echo ""
echo "π See DEPLOYMENT.md for detailed instructions"
echo ""