0% found this document useful (0 votes)
2 views2 pages

Java Projects Deployment Summary

The document outlines the steps for deploying Java projects using Git and Vercel. It includes initializing a Git repository, committing code, managing branches, preparing for Vercel deployment, creating a root index.html, and configuring optional route rewrites with vercel.json. The final note mentions that all files have been pushed to GitHub and Vercel will auto-deploy from the main branch.

Uploaded by

aaamna.zahid
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views2 pages

Java Projects Deployment Summary

The document outlines the steps for deploying Java projects using Git and Vercel. It includes initializing a Git repository, committing code, managing branches, preparing for Vercel deployment, creating a root index.html, and configuring optional route rewrites with vercel.json. The final note mentions that all files have been pushed to GitHub and Vercel will auto-deploy from the main branch.

Uploaded by

aaamna.zahid
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

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.

You might also like