-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Halim edited this page Oct 18, 2020
·
4 revisions
Welcome to the Joke wiki!
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash
nvm install node
npx create-react-app my-app
How to deploy React App to GitHub Pages
https://dev.to/yuribenjamin/how-to-deploy-react-app-in-github-pages-2a1f
cd my-app
npm install gh-pages --save-dev
Add properties to package.json file.
"homepage": "http://88Group.github.io/joke"
"scripts": {
//...
"predeploy": "npm run build",
"deploy": "gh-pages -d build"
}
git init
add it as remote
git remote add origin git@github.com:88Group/joke.git
npm run deploy
git add .
git commit -m "Your awesome message"
git push origin master
Resources used:
https://fonts.google.com/specimen/Pacifico?sidebar.open=true&selection.family=Pacifico
https://flatuicolors.com/palette/gb
https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/scale3d
https://api.chucknorris.io/jokes/random