Dorota1997 / react-frontend-dev-portfolio

Easy to adapt and deploy React portfolio inspired with solutions found at GitHub.

Home Page:https://dorota1997.github.io/react-frontend-dev-portfolio/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Page doesn't work

moreaul opened this issue · comments

commented

I think I followed the deployment tutorial correctly but when I go to my github page I get this:

image

Can anyone help me ?
Thank you in advance :)

Hi :) I've took quick look at your package.json file and saw that in homepage property you have put your portfolio address but as stated in Getting Started section, it's only needed when you want to deploy it to different repository than main "io" one. Try to set homepage property to single dot or remove it from package.json and then fire npm run deploy.

PS: You also lack "gh-pages" branch, that's why if u type your repository address, you get README instead. If it will be deployed properly you will see that branch and you will get expected results :D

commented

Thank you for your help !
I have removed homepage from package.json.
I add a new branch from "master" named gh-pages
and I redid npm run deploy but it doesn't work

image

Ok. Can you check your repository by going Settings -> Pages and make sure that your pages setup is correct?

example

commented

image

Your pages site is being built from master, switch to gh-pages branch and let GitHub grind some data and check if it works :)

PS: I've opened site and it seems that it works now :)

commented

I just changed that
image
AND IT WORKS THANK YOU VERY MUCH !

(I am new with github haha)

No worries. Everyone started out sometime :)