jonathandw743 / CO2-plotting-for-SAMHE

myreactapp2
0 stars 0 forks source link

Deploy the demo to github pages #5

Open sbland opened 2 years ago

sbland commented 2 years ago

Hi @jonathandw743 it would be great if we could quickly see changes to this. Can you take a look at https://github.com/gitname/react-gh-pages and see if you can publish this to github pages? I think you can start at step 3. Thanks

jonathandw743 commented 2 years ago

I followed the steps and kept getting errors (saying the echarts-for-react yarn package wasn't recognised) so I did everything but with yarn instead (like yarn run build etc) and it seems to have worked, I don't know how to view the page, but there's a build on the gh-pages branch I think.

jonathandw743 commented 2 years ago

https://jonathandw743.github.io/CO2-plotting-for-SAMHE/

jonathandw743 commented 2 years ago

So would I just do yarn run deploy when I want to send the project to the page?