Skip to content

Latest commit

 

History

History

Github Status

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Github Status

Simple Github Status tracker based on project idea from app-ideas repo. Depolyed on Github Pages here.

Requirements

Node.js with npm with the following npm packages installed locally or globally-

Parcel (devDependency)

Used to enable usage of node modules (request in this case) in browser. Browserify not used because it takes some config for HMR. And Webpack no longer polyfills node modules.

Request (prodDependency)

Used to get the current github status in json format.

Install

$ git clone https://github.com/ranmerc/implement-app-ideas
$ cd implement-app-ideas/beginner/Github\ Status
$ npm install

I had parcel installed globally so it is not included in package.json file so if you do not have parcel installed you may also want to do -

$ npm install parcel-bundler --save-dev

NPM Scripts

$ npm run dev

Targets src/index.html outputs to dist/ and starts a dev server on port 1234.

$ npm run build

Builds the production version of the app and outputs to build/. Cache folder is deleted because of this issue and public url is used because of this issue.