New project structure
Beta of extract.js for extracting english locale
This commit is contained in:
parent
e18d2b2f84
commit
2edbd67205
247 changed files with 6405 additions and 4237 deletions
9
server/setup/knex/config.js
Normal file
9
server/setup/knex/config.js
Normal file
|
@ -0,0 +1,9 @@
|
|||
'use strict';
|
||||
|
||||
if (!process.env.NODE_CONFIG_DIR) {
|
||||
process.env.NODE_CONFIG_DIR = __dirname + '/../../config';
|
||||
}
|
||||
|
||||
const config = require('server/setup/knex/config');
|
||||
|
||||
module.exports = config;
|
8
server/setup/knex/knexfile.js
Normal file
8
server/setup/knex/knexfile.js
Normal file
|
@ -0,0 +1,8 @@
|
|||
'use strict';
|
||||
|
||||
const config = require('./config');
|
||||
|
||||
module.exports = {
|
||||
client: 'mysql2',
|
||||
connection: config.mysql
|
||||
};
|
1264
server/setup/knex/migrations/20170506102634_v1_to_v2.js
Normal file
1264
server/setup/knex/migrations/20170506102634_v1_to_v2.js
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue