This website design was inspired by this repository. Any credit should be directed there.
-
Install Node.js on your machine.
-
If you are working on windows, add
Node.js
to your environment variables path. Follow this answer. -
Clone this repository to your local machine.
-
Open the folder on VSCode and type
npm install
in the terminal to install the dependencies. -
Run
npm start
to start the app. It should open directly on your default browser. But if it didn't, you can launch it on http://localhost:3000
-
copy this line to the top of
package.json
:"homepage": "https://[your username].github.io/[your repo name]",
- in my case it's
"homepage": "https://mashaan14.github.io/mashaan",
-
copy these commands to scripts in
package.json
:"predeploy": "npm run build",
"deploy": "gh-pages -d build"
-
run these commands from the terminal:
npm install gh-pages --save-dev
git init
git remote add origin https://github.com/[your username]/[your repo name].git
npm run deploy
HEX code | |
---|---|
main blue | #4B668C |
dark blue | #2D3D54 |
light blue | #EDEFF3 |
lighter blue | #A5B2C5 |