improve installation/documentation

This commit is contained in:
lesion
2019-07-03 16:58:24 +02:00
parent 6a96193ffc
commit 412e6f7dae
11 changed files with 131 additions and 129 deletions

View File

@@ -1,24 +0,0 @@
// const argv = require('yargs').argv
// const path = require('path')
// const fs = require('fs')
// const config_path = path.resolve(argv.config || './config.js')
// let user_config
// if (fs.existsSync(config_path)) {
// user_config = require(config_path)
// }
// const config = {
// baseurl: 'PLEASE CONFIGURE YOUR BASEURL!',
// server: {
// host: 'localhost',
// port: 3000
// },
// secret: '',
// db: {
// dialect: 'sqlite'
// }
// }
// module.exports = Object.assign( config, user_config )