diff --git a/app.js b/app.js index 6b09ff9..dd82aa6 100644 --- a/app.js +++ b/app.js @@ -76,8 +76,8 @@ App.configure('production', function(){ App.get('/', Routes.index); App.get('/signin', Routes.signIn); App.post('/signin', Routes.signInPost); -//App.get('/signup', Routes.signUp); -//App.post('/signup', Routes.signUpPost); +App.get('/signup', Routes.signUp); +App.post('/signup', Routes.signUpPost); App.get('/signout', Routes.signout) //App.get('/:name', Routes.view); App.get('/:name/edit', Routes.edit); diff --git a/db.js b/db.js index 65c82aa..82b7937 100644 --- a/db.js +++ b/db.js @@ -7,6 +7,7 @@ var Bookshelf = require('bookshelf'); var async = require('async'); var textile = require('textile-js') +var nodegit = require("nodegit") var Markdown = textile //Markdown = require('js-markdown-extra').Markdown @@ -14,6 +15,7 @@ function orderize(files){ var pageObjs = [] for (var i = 0; i