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