Personal Portfolio Website (React-based)
git clone https://github.com/doohee323/doohee323.github.io.git
cd doohee323.github.io
npm install
npm start
You can now view the site at http://localhost:3000
.
src/pages/
directory.src/components/
directory.public/images/
directory.git add .
git commit -m "Description: Changes made"
npm run deploy
This command performs the following:
npm run build
)gh-pages
branch in your GitHub repositoryhttps://doohee323.github.io/
The deployment process works because of the following configurations in package.json
:
homepage
property is set to https://doohee323.github.io
predeploy
and deploy
scripts are configured for GitHub Pagesgit push origin main
main
branchgh-pages
branchhttps://doohee323.github.io/
directly from the gh-pages
branch