mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 12:13:57 +00:00
fixes
This commit is contained in:
parent
ec7641dbd6
commit
93552585f7
@ -88,7 +88,7 @@ function start() {
|
||||
app.use(getExpressPath('/'), express.static('/home/dbgate-docker/public'));
|
||||
|
||||
const port = process.env.PORT || 3000;
|
||||
console.log('DbGate API listening on port', port);
|
||||
console.log('DbGate API listening on port (docker build)', port);
|
||||
server.listen(port);
|
||||
} else if (platformInfo.isNpmDist) {
|
||||
app.use(getExpressPath('/'), express.static(path.join(__dirname, '../../dbgate-web/public')));
|
||||
@ -99,7 +99,7 @@ function start() {
|
||||
),
|
||||
}).then(port => {
|
||||
server.listen(port, () => {
|
||||
console.log(`DbGate API listening on port ${port}`);
|
||||
console.log(`DbGate API listening on port ${port} (NPM build)`);
|
||||
});
|
||||
});
|
||||
} else if (process.env.DEVWEB) {
|
||||
@ -108,7 +108,7 @@ function start() {
|
||||
app.use(getExpressPath('/'), express.static(path.join(__dirname, '../../web/public')));
|
||||
|
||||
const port = process.env.PORT || 3000;
|
||||
console.log('DbGate API & web listening on port', port);
|
||||
console.log('DbGate API & web listening on port (dev web build)', port);
|
||||
server.listen(port);
|
||||
} else {
|
||||
app.get(getExpressPath('/'), (req, res) => {
|
||||
@ -116,7 +116,7 @@ function start() {
|
||||
});
|
||||
|
||||
const port = process.env.PORT || 3000;
|
||||
console.log('DbGate API listening on port', port);
|
||||
console.log('DbGate API listening on port (dev API build)', port);
|
||||
server.listen(port);
|
||||
}
|
||||
|
||||
|
@ -6,7 +6,7 @@ DbGate is fast and easy to use database administration tool for MySQL, PostgreSQ
|
||||
|
||||
## Install using npm
|
||||
```sh
|
||||
npm install -g dbgate-servee
|
||||
npm install -g dbgate-serve
|
||||
```
|
||||
|
||||
After installing, you can run dbgate with command:
|
||||
|
@ -38,6 +38,7 @@ changePackageFile('packages/tools', json.version);
|
||||
changePackageFile('packages/web', json.version);
|
||||
changePackageFile('packages/datalib', json.version);
|
||||
changePackageFile('packages/dbgate', json.version);
|
||||
changePackageFile('packages/serve', json.version);
|
||||
changePackageFile('packages/filterparser', json.version);
|
||||
changePackageFile('packages/query-splitter', json.version);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user