ztraboo / cpsc-6030-course-project

Team project for D3JS dashboard.
0 stars 2 forks source link

Set up Github pages configuration with simple deploy for React app. #2

Closed ztraboo closed 2 weeks ago

ztraboo commented 2 weeks ago

Need a way to deploy this React app to Github Pages to show final delivery for the project.

Used this Github repo as reference on how to deploy. https://github.com/gitname/react-gh-pages

Alternatives would be Vite with these instructions. https://vite.dev/guide/static-deploy.html#github-pages

Example article that used Vite to build out React app. https://www.sitepoint.com/d3-js-react-interactive-data-visualizations/

When deploying apps we need to create a specific message for what the update occurred as. Here is an example that we'll use for the first commit for deploying the initial React app after initial creation.

npm run deploy -- -m "Deploy React app to GitHub Pages"
ztraboo commented 2 weeks ago

Default React app deployed successfully at https://ztraboo.github.io/cpsc-6030-course-project/

Image