Skip to content

tomgp/starter-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##What it is A quick start for making static websites.

##What you need NodeJS for bundling JS, Git Python for a simple http server (temporarily until I find somethignin node that fits the bill)

##What do you get Some halfway decent default CSS (for examle)

Bundles Javascript using require('the-module-name') type syntax (browserify)

Re-builds the JS bundle on changes (watchify)

Local live reloading webserver (srvlr)

ES6 pollyfils (babelify)

##How you use it To get going open terminal and type in the following things

clone the repo:

git clone https://github.com/tomgp/starter-kit.git my-new-webpage

go to the new thing you made:

cd my-new-webpage

point it to a new remote i.e. you may wish to use your own github account or something:

git remote set-url origin https://github.com/yourusername/my-new-webpage.git

get all the js stuff:

npm install

(if you want other modules, eg. 'd3' you can install them as usual npm install --save d3)

run a live reloading server and something to build the javascript:

npm run start

(where my-new-webpage is the name of your new web page)

By default HTML is index.html, styles in style.css and you can write Node style Common JS modules in the source directory.

About

a quickstart for making static web pages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors