[demo.js][s]: a demo test of the helpers functions
This commit is contained in:
parent
c5971ebec5
commit
8b79a7bad4
9
packages/create-portal-app/demo_index.js
Normal file
9
packages/create-portal-app/demo_index.js
Normal 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));
|
||||
Loading…
x
Reference in New Issue
Block a user