Initial commit - LEGO Instructions Manager v1.5.0

This commit is contained in:
2025-12-09 17:20:41 +11:00
commit 63496b1ccd
68 changed files with 9131 additions and 0 deletions

79
push_to_gitea.bat Normal file
View File

@@ -0,0 +1,79 @@
@echo off
echo ===============================================
echo Push LEGO Instructions Manager to Gitea
echo ===============================================
echo.
REM Check if we're in the right directory
if not exist "run.py" (
echo Error: run.py not found!
echo Please run this script from E:\LIM directory
pause
exit /b 1
)
echo Step 1: Creating .gitignore...
echo __pycache__/ > .gitignore
echo *.pyc >> .gitignore
echo *.pyo >> .gitignore
echo instance/ >> .gitignore
echo .env >> .gitignore
echo app/static/uploads/ >> .gitignore
echo venv/ >> .gitignore
echo ENV/ >> .gitignore
echo *.db >> .gitignore
echo *.sqlite >> .gitignore
echo *.log >> .gitignore
echo .vscode/ >> .gitignore
echo .idea/ >> .gitignore
echo.
echo Step 2: Initializing Git repository...
git init
echo.
echo Step 3: Adding all files...
git add .
echo.
echo Step 4: Creating initial commit...
git commit -m "Initial commit - LEGO Instructions Manager v1.5.0"
echo.
echo Step 5: Adding Gitea remote...
git remote add origin https://gitea.hideawaygaming.com.au/jessikitty/lego-instructions-manager.git
echo.
echo Step 6: Setting main branch...
git branch -M main
echo.
echo Step 7: Pushing to Gitea...
echo.
echo You will be prompted for your Gitea credentials:
echo Username: jessikitty
echo Password: (your Gitea password or access token)
echo.
git push -u origin main
echo.
if %ERRORLEVEL% EQU 0 (
echo ===============================================
echo Success! Project pushed to Gitea!
echo ===============================================
echo.
echo View at: https://gitea.hideawaygaming.com.au/jessikitty/lego-instructions-manager
echo.
) else (
echo ===============================================
echo Error pushing to Gitea!
echo ===============================================
echo.
echo Common fixes:
echo 1. Check your internet connection
echo 2. Verify your Gitea credentials
echo 3. Try using an access token instead of password
echo.
)
pause