Im completely new to total.js and jade. I have been trying to run the example from github without any success.
Then in the command promt i do "c:\test> total" which creates the directories folders and installs total.js
"c:\test> npm install total.js"
"c:\test> npm install jade"
Then i copy the jade.js file from "the c:\test\node_modules\jade" folder to a folder created by myself called "modules"
With all of this done i ran the server and got the default hello world screen from total.js
I then created a new file in the views folder called jadetest.jade with the following content
html
head
h1 Test Site
body
h1 Test Site
in the default controller i change self.view('homepage'); to self.view('jadetest');
with this done i get a server error
view "jadetest" not found.
Is there anywhere i should be setting something in total.js that would tell it that im using jade or anything else im missing.
Im sure this is not very complicated but i can not find a single complete example or help.