Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@joemccann
Created June 1, 2011 20:17
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save joemccann/1003207 to your computer and use it in GitHub Desktop.
Save joemccann/1003207 to your computer and use it in GitHub Desktop.
Express Boilerplate using EJS, Stylus, jQuery and Normalize.css
# /bin/bash
# run from Express project root directory
# Dependencies: wget, express, npm
express -t ejs -c stylus
npm install ejs
npm install stylus
mv public/stylesheets public/css
mv public/javascripts/ public/js
mv public/images/ public/img
rm -rf pids logs test
wget -O public/css/normalize.styl https://github.com/necolas/normalize.css/raw/master/normalize.css
wget -O public/js/jquery-1.6.1.min.js http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js
@prescottprue
Copy link

When I try to run the first command I get "error: unknown option '-t' ". I have made sure to run npm install express.

Am I missing something?

When I ran express --help I found that the flag for adding ejs engine support is -e.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment