From a8f58d0860263cfaf9c0ae464889a83f277a65c1 Mon Sep 17 00:00:00 2001 From: Arno Kaimbacher Date: Thu, 12 Nov 2020 16:48:24 +0100 Subject: [PATCH] - add licence and readme.md files --- LICENSE | 22 ++++++++++++++++++++++ readme.md | 29 +++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 LICENSE create mode 100644 readme.md diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..fe8ee21 --- /dev/null +++ b/LICENSE @@ -0,0 +1,22 @@ +MIT License +----------- + +Copyright (c) 2020, Geologische Bundesanstalt (GBA) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. \ No newline at end of file diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..2f56167 --- /dev/null +++ b/readme.md @@ -0,0 +1,29 @@ +## Getting Started + +These instructions will show you how to get a copy of the project and how to deploy the project on a live system. + +Create web folder:\ +`sudo mkdir -p /var/www/3d-app/` + +Clone the repository to your web folder:\ +`git clone https://github.com/geolba/GeotiefExplore.git /var/www/3d-app/` + +Switch to the repo folder:\ +`cd /var/www/3d-app/` + +Copy the example env file and make the required configuration changes in the .env file +`cp .env.example .env` + + `.env` - Environment variables can be set in this file +Configure your database connection in .env-file e.g.: +`nano .env` + +```ini +NODE_ENV=production +``` +Build production files:\ +`npm run prod` + +## License + +This project is licensed under the MIT License - see the [license](LICENSE) file for details