bigschatz / CoVID-19-Tracker

A simple app to keep up-to-date with the Coronavirus Pandemic

Home Page:https://bigschatz.github.io/CoVID-19-Tracker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CoVID-19 Tracker

A shout out to Wes Bos for putting out the tutorial!

Setting up ESLint

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.

Setting up GH-Pages

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

About

A simple app to keep up-to-date with the Coronavirus Pandemic

https://bigschatz.github.io/CoVID-19-Tracker


Languages

Language:JavaScript 100.0%