Java Projects Deployment Summary
Step 1: Git Initialization and Setup
Initialized a new git repository and added remote:
git init
git remote add origin [Link]
Step 2: Commit and Push
Added, committed, and pushed the code to the main branch:
git add .
git commit -m "Initial commit"
git push -u origin main
Step 3: Branch Management
Switched to main branch and deleted master (since all data was in main):
git branch -d master (if it existed)
git push origin --delete master
Step 4: Vercel Deployment Preparation
To avoid 404 errors and structure the app, a root [Link] was added to list all folders.
Each folder contains an HTML/CSS/JS mini-app.
Step 5: Root [Link] Created
Created a homepage with links to each project. Saved as [Link] in the root directory.
Step 6: [Link] (Optional)
Created [Link] in the root to configure route rewrites:
"rewrites": [
{ "source": "/", "destination": "/[Link]" }
Final Note
All files were committed and pushed to GitHub. Vercel is expected to auto-deploy from the main
branch.
Project folder contains multiple HTML/CSS-based mini projects with a central homepage.