node --version
git --version
To Fork the repo click on the fork button at the top right of the page. Once the repo is forked open your terminal and perform the following commands
git clone https://github.com/<YOUR GITHUB USERNAME>/developer-portfolio.git
cd developer-portfolio
npm install
# or
yarn install
Then, run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
Build Docker Image and Run Container:
docker-compose up --build
Access the Application: Visit http://localhost:3000 in your web browser to view the running application.
Build the Docker Image using Dockerfile.dev:
docker build -t nextjs-app -f Dockerfile.dev .
Running the Docker Container:
docker run -p 3000:3000 nextjs-app
Access the Application: Visit http://localhost:3000 in your web browser to view the running application.
Please create a new .env
file from .env.example
file.
Eg:
NEXT_PUBLIC_GTM =
NEXT_PUBLIC_APP_URL =
TELEGRAM_BOT_TOKEN =
TELEGRAM_CHAT_ID =
GMAIL_PASSKEY =
EMAIL_ADDRESS =
utils/data
folder.Eg:
export const personalData = {
name: "SUSHIL BHANDARY",
profile: "/profile.jpeg",
designation: "Software Developer",
description:
"My name is SUSHIL BHANDARY, and I am a passionate and dedicated programmer with a strong drive for learning and exploring new technologies. I am a quick learner with a self-motivated approach, always eager to solve challenging problems and create impactful solutions.",
description2:
"My expertise spans multiple areas of web and software development, with a strong foundation in JavaScript and a keen interest in building dynamic, user-friendly applications. I thrive on making technology accessible and effective, contributing to innovative projects that leave a mark. I am open to exciting job opportunities that align with my skills and passion for development.",
email: "[email protected]",
phone: "+16673358435",
address: "Seattle WA, USA (Open to relocation)",
github: "https://github.com/sushilrajeeva",
facebook: "https://www.facebook.com/Sushil.pc1/",
linkedIn: "https://www.linkedin.com/in/sushilrajeeva/",
twitter: "https://x.com/SushilRajeev/",
stackOverflow: "https://stackoverflow.com/users/21802231/sushil-rajeeva-bhandary",
leetcode: "https://leetcode.com/u/sushilrajeeva/",
devUsername: "sushilrajeeva",
resume:
"https://www.sushilbhandary.com/docs/resume",
};
devUsername
is used for fetching blog posts from dev.to
.
Deploying the app to platforms like Vercel or Netlify is quick and easy.
.env
file.NEXT_PUBLIC_GTM
, NEXT_PUBLIC_APP_URL
, TELEGRAM_BOT_TOKEN
, etc.Whenever you push changes to your GitHub repo, Vercel will automatically redeploy the app, keeping your portfolio up-to-date.
.env
file.Used Package List |
---|
@emailjs/browser |
@next/third-parties |
axios |
lottie-react |
next |
nodemailer |
react |
react-dom |
react-fast-marquee |
react-google-recaptcha |
react-icons |
react-toastify |
sharp |
sass |
tailwindcss |
next
is not recognized as an internal or external command, operable program or batch file."Run the following command:
npm install -g next
This installs Next.js globally
then do the usual npm run dev
git pull origin master
git add .
git commit -m "message"
git push origin master