index.js 473 Bytes
import shelljs from 'shelljs';
import config from '../../config/config';

import ServerModel from './server';
import BuildingModel from './building';
import ProjectModel from './project';
import DeployModel from './deploy';

shelljs.mkdir('-p', config.dbDir);

const Server = new ServerModel();
const Building = new BuildingModel();
const Project = new ProjectModel();
const DeployInfo = new DeployModel();

export {
    Server,
    Building,
    Project,
    DeployInfo
};