多维表格
 
 
 
 
 
 

13 lines
370 B

process.env.NC_BINARY_BUILD = 'true';
(async () => {
try {
const app = require('express')();
const {Noco} = require("nocodb");
const port = process.env.PORT || 8080;
const httpServer = app.listen(port);
app.use(await Noco.init({}, httpServer, app));
console.log(`Visit : localhost:${port}/dashboard`)
} catch(e) {
console.log(e)
}
})()