mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-29 22:16:37 +00:00
chore: action for releasing
Signed-off-by: Pranav C <pranavxc@gmail.com>
This commit is contained in:
11
scripts/pkg-executable/index.js
Normal file
11
scripts/pkg-executable/index.js
Normal file
@@ -0,0 +1,11 @@
|
||||
(async () => {
|
||||
try {
|
||||
const app = require('express')();
|
||||
const {Noco} = require("nocodb");
|
||||
const httpServer = app.listen(process.env.PORT || 8080);
|
||||
app.use(await Noco.init({}, httpServer, app));
|
||||
console.log(`Visit : localhost:${process.env.PORT}/dashboard`)
|
||||
} catch(e) {
|
||||
console.log(e)
|
||||
}
|
||||
})()
|
||||
Reference in New Issue
Block a user