1 | blogmate = require('../index')
|
2 | fs = require('fs')
|
3 |
|
4 | fs.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 |