Created
June 1, 2011 20:17
-
-
Save joemccann/1003207 to your computer and use it in GitHub Desktop.
Express Boilerplate using EJS, Stylus, jQuery and Normalize.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.