mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
370 B
14 lines
370 B
2 months ago
|
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)
|
||
|
}
|
||
|
})()
|