From 7b10b38bdd6b82125d5eb1889d117f185a5d08ff Mon Sep 17 00:00:00 2001 From: Joe TS Dell <thunyathep.s@outlook.com> Date: Wed, 7 Jul 2021 22:45:05 +0200 Subject: [PATCH] update --- README.md | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 41fb3e2..241b184 100644 --- a/README.md +++ b/README.md @@ -12,10 +12,19 @@ npm install ``` ## Usage - -```bash -node server.js -``` +### Starting server +1. Run `node server.js` (or any node manager - pm2/ nodemon) at your project folder. +2. Access to the GeoVolumes Landing Page at http://localhost:port. + * **Landing Page**: `http://localhost:port` + * **Collections**: `http://localhost:port/collections` + * **Collections with bbox filter**: `http://localhost:port/collections?bbox=minx,miny,maxx,maxy` + +### Adding Collection +* Add contents to `3DGeoVolumes\collections\collections.json` +* Add contents to `3DGeoVolumes\collections\:collectionId\collectionId.json` (The automated script could be added here in future.) + +### Configuration +* Port can be adjusted in the `server.js` file. ## Contributing Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. -- GitLab