Skip to content
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

https://chuck-norris-jokes.ivanms1.now.sh/

https://www.youtube.com/watch?v=ZvBfdocJOlY

Clone this wiki locally