Commit d90614c0 authored by Rodrigo Tapia-McClung's avatar Rodrigo Tapia-McClung

Update app name

parent 01029e0d
......@@ -74,7 +74,7 @@ If you don't have git, you can download [a zip file](http://gitlab.geoint.mx/tap
npm install
cp config/dbconfig.example.json config/dbconfig.json
# now edit config/dbconfig.json for your PostGIS database
node pgserver.js
node fordecyt2019.js
or
npm run dev / npm run start
# point your browser to [http://localhost:8090](http://localhost:8090) for more info
......
const pgserverconfig = require('./config/pgserver.json')
const fordecyt2019config = require('./config/fordecyt2019.json')
const express = require('express');
const logger = require('morgan');
......@@ -34,9 +34,9 @@ const geobuf = require('./geobuf.js')(app, readOnlyPool);
const listLayers = require('./list_layers.js')(app, readOnlyPool);
const query = require('./query.js')(app, readOnlyPool);
const server = app.listen(pgserverconfig.port);
const server = app.listen(fordecyt2019config.port);
server.setTimeout(600000);
console.log(`pgserver listening on port ${pgserverconfig.port}`);
console.log(`fordecyt2019 listening on port ${fordecyt2019config.port}`);
module.exports = app;
\ No newline at end of file
{
"name": "pgserver",
"name": "fordecyt2019",
"version": "0.0.0",
"lockfileVersion": 1,
"requires": true,
......@@ -510,9 +510,9 @@
"integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA="
},
"dot-prop": {
"version": "4.2.0",
"resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-4.2.0.tgz",
"integrity": "sha512-tUMXrxlExSW6U2EXiiKGSBVdYgtV8qlHL+C10TsW4PURY/ic+eaysnSkwB4kA/mBlCyy/IKDJ+Lc3wbWeaXtuQ==",
"version": "4.2.1",
"resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-4.2.1.tgz",
"integrity": "sha512-l0p4+mIuJIua0mhxGoh4a+iNL9bmeK5DvnSVQa6T0OhrVmaEa1XScX5Etc673FePCJOArq/4Pa2cLGODUWTPOQ==",
"requires": {
"is-obj": "^1.0.0"
}
......@@ -1382,9 +1382,9 @@
"integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4="
},
"ini": {
"version": "1.3.5",
"resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz",
"integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw=="
"version": "1.3.8",
"resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz",
"integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew=="
},
"ipaddr.js": {
"version": "1.9.0",
......@@ -1577,9 +1577,9 @@
"integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8="
},
"kind-of": {
"version": "6.0.2",
"resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz",
"integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA=="
"version": "6.0.3",
"resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz",
"integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw=="
},
"latest-version": {
"version": "3.1.0",
......@@ -1686,9 +1686,9 @@
}
},
"minimist": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
"integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ="
"version": "1.2.5",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",
"integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw=="
},
"mixin-deep": {
"version": "1.3.2",
......
{
"name": "pgserver",
"name": "fordecyt2019",
"version": "0.0.0",
"description": "PGserver receives, converts and serves geo-data between postgis and http-clients.",
"main": "pgserver.js",
"description": "",
"main": "fordecyt2019.js",
"scripts": {
"dev": "nodemon pgserver.js",
"start": "node pgserver.js",
"dev": "nodemon fordecyt2019.js",
"start": "node fordecyt2019.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Anne Blankert, Geodan",
"license": "ISC",
"author": "",
"license": "",
"dependencies": {
"@mapbox/sphericalmercator": "^1.1.0",
"cors": "^2.8.5",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment