If you want to run my project:
- Clone or fork project.
- Install required dependencies with
npm install
. - Remove
homepage
entirely frompackage.json
or set it to single dot.
// package.json
{
"name": "react-frontend-dev-portfolio",
"homepage": "https://luisc111.github.io/react-frontend-dev-portfolio/", <-- remove/edit this
"version": "0.1.0",
"private": true,
"dependencies": {
...
}
npm start
project and customize it.- Deploy on github-pages using
npm run deploy
command.
⚠️ Note that: - if you want to have portfolio on different repository than `{username}.github.io`, set `homepage` in `package.json` to `https://{username}.github.io/{repository-name}/` before deploying portfolio. - if you want to run it locally with npm run start, make sure that you have edited homepage property or json data won't load.