From c20a6c41b2f0e5758785921ac4bf5aa984d190dd Mon Sep 17 00:00:00 2001 From: David Friedrich Date: Fri, 8 Nov 2024 12:28:35 +0100 Subject: [PATCH] README updated --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ce291a5..72743a6 100644 --- a/README.md +++ b/README.md @@ -65,13 +65,16 @@ APS model viewer implementation for marketing purposes. ## Getting Started -To get the latest compiled version, go to: [Github Releases](https://github.com/grunergroup/gTT_APSwebViewer/releases) +The Viewer is setup to be deployed with docker. Nevertheless it can be run standalone by installing nodejs on the target machine. +If standalone, only the `.env` has to be created and populated. All other steps can be skipped. +## Setup procedure for dmzlxv09.dmz.gruner.ch aka webapps.gruner.ch ### Docker Setup - clone the Repo -- Create a _.env_ file in the project folder, and populae it with the snippet below, -replacing `` and `` with your APS Client ID and Client Secret: +- Create a _.env_ file in the project folder (from .env_sample), and populae it with the snippet below, +replacing `` and `` with your APS Client ID and Client Secret +- upload the model via [OSS Manager](https://oss-manager.autodesk.io/) and insert the filename of the model `presetModel= ` ```bash APS_CLIENT_ID= @@ -90,7 +93,7 @@ presetModel=BPZ_00_GRU_SIT_STR_MOD_EXI_Powerhouse.rvt # Insert filename of the m - edit the - Run the application, `docker compose up -d` in terminal -- Open http://localhost:8080 +- Open http://localhost:808X ### NGINX Setup