[demo.js][s]: a demo test of the helpers functions

This commit is contained in:
steveoni 2020-11-24 11:54:05 +01:00
parent c5971ebec5
commit 8b79a7bad4

View File

@ -0,0 +1,9 @@
const copy = require("./helpers/copy");
const install = require("./helpers/install");
const path = require('path');
(async ()=>{
const root = [__dirname, "templates"].join(path.sep);
await copy(root,"Datahub")
await install("Datahub", true);
})().catch(e=> console.log(e));