Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
171
rated 0 times [  178] [ 7]  / answers: 1 / hits: 21511  / 13 Years ago, sun, january 8, 2012, 12:00:00

Trying to learn HTML5 and downloaded a test project https://github.com/amiklosi/Comicr. There is a folder named views with a index.jade which I suppose is the start page. What does it take to run that type of files? I can not open it directly in the browser.


More From » html

 Answers
34

jade is a HTML templating engine. All jade files need to be transformed in the HTML.



You need to install to install jade by running



npm install jade


Also don't forget that you need to install other dependencie like express, nodemailer, etc (see requires in the source code).



Then run the app using



node app.js


And the application should by available on http://localhost/3000. All Jade templates will be correctly rendered and displayed as HTML.


[#88157] Friday, January 6, 2012, 13 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
quinn

Total Points: 160
Total Questions: 86
Total Answers: 101

Location: Belarus
Member since Tue, Mar 14, 2023
1 Year ago
;