Skip to content
This repository has been archived by the owner on Feb 26, 2019. It is now read-only.
Scott Stanfield edited this page Jun 13, 2013 · 17 revisions

msrd.io

Environment Setup

  • Install node & npm
    • Windows (install via chocolatey)
    • Mac brew install node)

Development tools

To build the site

For "debug" mode:

% grunt

For "release" mode:

% npm install -g nws
% grunt release
% cd release
% nws&
% open http://localhost:3030

Useful commands

Compiles project for debug with verbose turned on (via --debug) and autoloads site in browser

 % grunt debug-run --debug

Show git all branches along with SHA1 and comment

% git branch -av

Delete a local branch and corresponding remote branch via stackoverflow

% git branch -D foo
% git push origin --delete foo
% git remote prune origin

Remove leftover files when you switch between branches

% git clean -fd

Understanding use strict in JavaScript

% node
> (function(){ "use strict"; var foo = 1; console.log(foo); })(); console.log(foo);
1
ReferenceError: foo is not defined...

Useful Sites

A list of sites we've been using during the creation of the project.

Git Immersion looks like a great site for learning git.

YAML examples and online parser
yaml-online-parser

Using Google Maps with Angular
angular-google-maps

Filter the cast of the "Avengers" with Angular jsfiddle

Responsive grid
flawless

Typographical vertical grid
gridlover

Layout for articles
reuze

Figure out npm package.json file package.json

7 step Angular walkthrough http://dailyjs.com/2013/04/11/angularjs-1/

Readings about Typography

http://viljamis.com/blog/2012/typography/
http://retinart.net/typography/typographicscale/
http://ia.net/blog/responsive-typography-the-basics/