-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup-github.bat
More file actions
91 lines (82 loc) · 2.46 KB
/
setup-github.bat
File metadata and controls
91 lines (82 loc) · 2.46 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
@echo off
echo ========================================
echo GitHub Repository Setup for Feenixs
echo ========================================
echo.
REM Check if Git is installed
git --version >nul 2>&1
if errorlevel 1 (
echo ERROR: Git is not installed or not in PATH
echo Please install Git from https://git-scm.com
pause
exit /b 1
)
REM Change to project directory
cd /d "%~dp0"
REM Initialize Git repository if not already done
if not exist ".git" (
echo Initializing Git repository...
git init
echo.
)
REM Add all files to staging
echo Adding files to Git...
git add .
echo.
REM Create initial commit
echo Creating initial commit...
git commit -m "Initial commit: Feenixs AI Platform - Modular Multi-Page Website
Features:
- Modular HTML/CSS/JS architecture
- 6 separate pages (Home, Vision, Technologies, Founder, Community, Contact)
- Responsive design with glassmorphism effects
- User authentication system with CSV storage
- Community chat functionality
- Contact form with message storage
- Visitor tracking system
- Particle animation background
- Mobile responsive navigation
- GSAP animations and interactions"
echo.
REM Check if remote repository is already configured
git remote get-url origin >nul 2>&1
if errorlevel 1 (
echo.
echo Please follow these steps to create GitHub repository:
echo.
echo 1. Go to https://github.com and create a new repository named "feenixs-website"
echo 2. Make sure the repository is PUBLIC
echo 3. Do NOT initialize with README (we already have one)
echo 4. Copy the repository URL (HTTPS format)
echo.
set /p repo_url="Enter your GitHub repository URL: "
echo.
echo Adding remote repository...
git remote add origin "%repo_url%"
echo.
echo Pushing to GitHub...
git push -u origin main
) else (
echo Remote repository already configured.
echo Pushing to GitHub...
git push origin main
)
echo.
echo ========================================
echo GitHub Setup Complete!
echo ========================================
echo.
echo Your repository is now available at:
echo https://github.com/YOUR_USERNAME/feenixs-website
echo.
echo To deploy to GitHub Pages:
echo 1. Go to your repository on GitHub
echo 2. Go to Settings > Pages
echo 3. Select "Deploy from a branch"
echo 4. Choose "main" branch and "/pages" folder
echo 5. Save and wait for deployment
echo.
echo Your site will be available at:
echo https://YOUR_USERNAME.github.io/feenixs-website/
echo.
pause