zhuk1707 / react-deploy

Educational project for obtaining skills in deploying reacts apps into gh-pages.

Repository from Github https://github.comzhuk1707/react-deployRepository from Github https://github.comzhuk1707/react-deploy

How To Deploy React App

git inint

git status

git add .

git commit -m "initial commit"

git branch -M 'main

git remote add origin "URL"

git push -u origin 'main'

npm install gh-pages --save-dev

In package.json add:

  • "homepage" : "https://username.github.io/app-name"

  • "predeploy":"npm run build"

  • "deploy":"gh-pages -d build"

npm run deploy

About

Educational project for obtaining skills in deploying reacts apps into gh-pages.


Languages

Language:JavaScript 52.6%Language:CSS 30.0%Language:HTML 17.4%