Skip to content

Deploying a React App (created using create-react-app) to GitHub Pages

Notifications You must be signed in to change notification settings

Wezalab/react-gh-pages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploying a React App to GitHub Pages

Introduction

Today, I deployed a React app to GitHub Pages. You can visit the deployed app, at https://gitname.github.io/react-gh-pages/.

This repository contains the files involved in that endeavor. Specifically, it contains the source code files (e.g. App.js, index.js, package.json, and the README.md document you're reading now) and the files that consitute a build of the app.

The source code files are stored in this repository's master branch, while the files that constitute the build are stored in this repository's gh-pages branch.

The remainder of this document contains a tutorial on creating a React app (using create-react-app) and deploying that app to GitHub Pages.

Tutorial

  1. Coming soon...

Notes

I created this React app using create-react-app. By default, apps created using create-react-app have a README.md file that looks like this. Indeed, the README.md file you're now reading originally looked like that. I have since changed it to look the way it looks today.

About

Deploying a React App (created using create-react-app) to GitHub Pages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 61.0%
  • HTML 31.1%
  • CSS 7.9%