UNPKG

252 Btext/coffeescriptView Raw
1blogmate = require('../index')
2fs = require('fs')
3
4fs.readFile './config.json', (err, fileContents) ->
5 fileContents = fileContents.toString()
6 conf = JSON.parse(fileContents)
7
8 blogmate.init __dirname, conf
9 blogmate.start process.env.PORT || 3000
\No newline at end of file