create react app github repo
Make sure you have already created a repo in github.
In "package.json" file of project add - "homepage": "https://username.github.io/reponame"
Run Install - "yarn add gh-pages"
In "package.json/scripts" add `"predeploy":"npm run build", "deploy":"gh-pages -d build"`
Run "npm run build" to create the build
To push in git use following steps:
1) git init
2) git add -A
3) git commmit -m "first commit"
4) git remote add origin https://github.com/username/reponame.git
5) git push -u origin master
Now in github repo create a new branch "gh-pages"
In settings -> github pages -> source -> branch -> gh-pages -> save
Run "npm run deploy"
*****************************voilà it's done!!*************************$ git remote add origin https://github.com/gitname/react-gh-pages.git
Also in C++:
- create react app github repo
- linux sort by date modified
- how to download fl studio on linux
- how to install g++ in fedora
- translate lower to upper in unix
- how to use django shell
- login git in terminal
- elixir continuous integration workflow in github
- awk delimiter semi-colon
- how to set up git for github
- add a file to git
- powershell make file
- not a git repository after clone
- ./RsaCtfTool.py: command not found kali linux
- conda add paths to bashrc
- update metsploit kali linux
- how to install nvm in ubuntu
- install fontforge linux
- how to git commit and push
- git subtree push
- how to take output of command in cp linux
- sed from match to end of file
- powershell bytes to mb
- auto clean ubuntu