New project structure

Beta of extract.js for extracting english locale
This commit is contained in:
Tomas Bures 2018-11-18 15:38:52 +01:00
parent e18d2b2f84
commit 2edbd67205
247 changed files with 6405 additions and 4237 deletions

14
server/lib/knex.js Normal file
View file

@ -0,0 +1,14 @@
'use strict';
const config = require('config');
const knex = require('server/lib/knex')({
client: 'mysql2',
connection: config.mysql,
migrations: {
directory: __dirname + '/../setup/knex/migrations'
}
//, debug: true
});
module.exports = knex;