Portfolio Website to visually show off my work in my career and free time
https://campasachamp.github.io/
View Website
·
Report Bug
·
Request Feature
Table of Contents
- Clone the repo
git clone https://github.com/CampAsAChamp/campasachamp.github.io.git
- Navigate into the repo and run
npm install
- Start the website with
npm run start
- Open your web browser (if not automatically done for you) to
localhost:3000
-
Push the React app to the GitHub repository
$ npm run deploy
That will cause the
predeploy
anddeploy
scripts defined inpackage.json
to run.Under the hood, the
predeploy
script will build a distributable version of the React app and store it in a folder namedbuild
. Then, thedeploy
script will push the contents of that folder to a new commit on thegh-pages
branch of the GitHub repository, creating that branch if it doesn't already exist.By default, the new commit on the
gh-pages
branch will have a commit message of "Updates". You can specify a custom commit message via the-m
option, like this:$ npm run deploy -- -m "Deploy React app to GitHub Pages"
Now the GitHub repository contains a branch named gh-pages
, which contains the files that make up the distributable version of the React app.
- View the site live at https://campasachamp.github.io/
Distributed under the MIT License. See LICENSE.txt
for more information.