animebot / setup-github.bat
luci18's picture
Upload folder using huggingface_hub
e4ccb70 verified
Raw History Blame Contribute Delete
1.27 kB
@echo off
:: Windows Setup Script for GitHub
echo ==========================================
echo Anime Encoder Bot - GitHub Setup
echo ==========================================
:: Check if git is initialized
if not exist .git (
echo [+] Initializing git repository...
git init
git branch -m main
) else (
echo [✓] Git already initialized
)
:: Add all files
echo [+] Adding files...
git add .
:: Initial commit
echo [+] Creating initial commit...
git commit -m "Initial commit: Anime Encoder Bot with all features" 2>nul || echo Nothing to commit
echo.
echo ==========================================
echo NEXT STEPS:
echo ==========================================
echo.
echo 1. Create a new repository on GitHub:
echo https://github.com/new
echo.
echo 2. Copy the repository URL (e.g., https://github.com/YOURNAME/anime-encoder-bot.git)
echo.
echo 3. Add remote and push:
echo git remote add origin YOUR_REPO_URL
echo git push -u origin main
echo.
echo 4. For Hugging Face:
echo a) Go to: https://huggingface.co/new-space
echo b) Select 'Docker' as SDK
echo c) Name it: anime-encoder-bot
echo d) Go to Settings ^> Secrets
echo e) Add HF_TOKEN and HF_SPACE_ID
echo.
echo 5. The GitHub Action will auto-deploy!
echo.
pause