A shout out to Wes Bos for putting out the tutorial!
Create empty directory for your project.
Run npm init -y
to create a package.json file.
Install ESLint from Wes Bos if you'd like.
Run npm -i next react react-dom styled-components --save
.
Make directories pages, components, src, utils.
Create an index.js file in pages directory.
In package.json change start script to "start": "next"
.
Run npm start
.
After running Hooks Setup run npm install gh-pages --save-dev
Create your website (bigschatz.github.io/project) and add it as a homepage property in package.json:
"homepage": "https://bigschatz.github.io/<project>"
Add these scripts to package.json file
"predeploy": "npm run build",
"deploy": "gh-pages -d build"
Run npm run deploy