brazil-data-cube / forest-monitor-app

MIT License
3 stars 2 forks source link

unable to configure forest-monitor-app #86

Open mariembensalem opened 3 years ago

mariembensalem commented 3 years ago

After install forest-monitor-app ,to run this software I need to set some environment variables: URL_GEOSERVER - URL to geoserver BASE_PATH - Web path inside the container server WORKSPACE_GEOSERVER - Geoserver Workspace to get layer and styles URL_FOREST_API - URL to forest-monitor-app backend forest api URL_BDC_CACHE - URL to forest-monitor-app backend bdc cache URL_SLIDER_GROUP_DAYS - Number of days to group on slider APP_NAME - App name to be used on oauth application URL_LAMBDA_CBERS - URL to AWS CBERS provider URL_LAMBDA_LANDSAT - URL to AWS LANDSAT provider URL_LAMBDA_SENTINEL - URL to AWS SENTINEL provider AWS_TOKEN - AWS authentication token URL_OAUTH - URL to oauth api URL_OAUTH_APP - URL to oauth APP API_KEY - Planet API Key GEOSERVER_LAYERS - GeoServer Layers on JSON Format. but I'm not understand how to do this configuration

MarceloPilatti commented 3 years ago

First, if you are using the branch master, please, update the code or clone again. Then, you will see that there's a script named run-default.sh on the folder forest-monitor-app . That script contains all the variables you need to configure the app. Duplicate this script and rename it to run-local.sh and just run with ./run-local.