Skip to content

dum-build/dum-web-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Template for dum web projects. Just git clone https://github.com/dum-build/dum-web-template.git and run!

Run

(You might want to keep this section in your own README.md)

Requires node.js.

npm install -g bower
bower install
npm install
npm start

Then see http://localhost:8000.

Modify the template

Libraries

Add new entries to bower.json and run bower install. You may also want to modify the require.js paths in _layout.jade.

Scripting language

In package.json, replace "jstransformer-babel": "" with "jstransformer-mason": "mason-lang/jstransformer-mason".

Add "msl": "mason-lang/msl" to bower.json dependencies and run bower install.

In _layout.jade, add msl: 'msl/dist' to paths.

In package.json, replace "jstransformer-babel": "" with "jstransformer-coffee-script": "".

JavaScript

Just remove "jstransformer-babel": "" from package.json and use the .js extension.