This repository contains the source codes of my personal portfolio. The repository is built on top of Dorota1997/react-frontend-dev-portfolio repository. The website is developed with React.
-
Install Node.js installer from https://nodejs.org/en/download/. Node.js comes with npm.
-
Once npm runs, cd to your repo folder. Run
npm install
to install all the modules listed in thedependencies
anddevDependencies
in thepackage.json
. All the modules will be installed tonode_modules
folder. -
Specify
name
as a repository name andhomepage
in thepackage.json
. By default, homepage will behttps://<username>.github.io
or simply single dot.
. To run on a different repository, sethomepage
ashttps://<username>.github.io/<repository_name>
. Adjustname
inpackage-lock.json
accordingly. -
Run
npm start
to run the local server for testing, and make sure it runs okay. -
Modify the contents, e.g.,
public/*.json
for text. -
Run
npm run deploy
to reflect the changes, pushing togh-pages
branch, which will reflect the website. -
Go to GitHub > Settings > Pages, make sure source is set to gh-pages branch.
[1] D. Gil, Dorota1997/react-frontend-dev-portfolio. 2021. Accessed: Nov. 05, 2021. [Online]. Available: https://github.com/Dorota1997/react-frontend-dev-portfolio