Skip to content

Commit

Permalink
Merge pull request #12 from camptocamp/GSGGR-186-open-geoshop-window
Browse files Browse the repository at this point in the history
GSGGR-186 open geoshop window
  • Loading branch information
RenataMuellerC2C authored Jan 6, 2025
2 parents d3a8f6d + dc7c8dc commit e23367f
Show file tree
Hide file tree
Showing 79 changed files with 7,506 additions and 2,246 deletions.
4 changes: 4 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@
!geoportal/geogr_gmf_geoportal/static
!geoportal/geogr_gmf_geoportal/locale
geoportal/geogr_gmf_geoportal/locale/*.pot
!ui
ui/dist/
ui/node_modules/
ui/static/fa-*
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ __pycache__/
/geoportal/geogr_gmf_geoportal/static/robot.txt
/print/print-apps/geogr_gmf/config.yaml
/mapserver/tinyows.xml
/node_modules
node_modules
391 changes: 0 additions & 391 deletions CONST_create_template/geoportal/interfaces/desktop_alt.html.mako

This file was deleted.

24 changes: 24 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,27 @@ VOLUME /etc/geomapfish \
/usr/local/tomcat/webapps/ROOT/print-apps \
/etc/haproxy_dev \
/etc/haproxy

###############################################################################

FROM node:20.18.0-slim AS ui-build

WORKDIR /app
COPY ui/package.json ui/package-lock.json ./

RUN npm install --ignore-scripts

COPY ui/ ./
ARG VITE_GEOSHOP_URL
ENV VITE_GEOSHOP_URL=$VITE_GEOSHOP_URL
RUN NODE_ENV=production npm run build

###############################################################################

FROM gmf_config AS config

#COPY --from=webcomponent-build /app/dist/ /etc/geomapfish/static/custom/

COPY --from=ui-build /app/dist/* /etc/static-frontend/
COPY --from=ui-build /app/node_modules/ngeo/dist/fa-* /etc/static-frontend/
VOLUME /etc/static-frontend/
1 change: 0 additions & 1 deletion ci/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,3 @@ publish:
repository: camptocamp/argocd-gs-ugsp-apps
images:
- name: camptocamp/geogr_gmf-config
- name: camptocamp/geogr_gmf-geoportal
1 change: 1 addition & 0 deletions docker-compose-lib.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ services:
GEOMAPFISH_VERSION: ${GEOMAPFISH_VERSION}
GEOMAPFISH_MAIN_VERSION: ${GEOMAPFISH_MAIN_VERSION}
GEOMAPFISH_MAIN_MINOR_VERSION: ${GEOMAPFISH_MAIN_MINOR_VERSION}
VITE_GEOSHOP_URL: ${VITE_GEOSHOP_URL}
user: www-data
environment:
- VISIBLE_WEB_HOST
Expand Down
6 changes: 4 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ services:
geoportal:
extends:
file: docker-compose-lib.yaml
service: geoportal-advance
service: geoportal
volumes_from:
- config:ro
volumes:
Expand All @@ -88,7 +88,9 @@ services:
alembic:
extends:
file: docker-compose-lib.yaml
service: alembic-advance
service: alembic
# environment:
# - PGSCHEMA

front:
extends:
Expand Down
1 change: 1 addition & 0 deletions env.project
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,4 @@ C2C_USE_SESSION=true
OPENID_CONNECT_ENABLED=true
OIDC_ISSUER_URL=https://ugsp-sso-test.camptocamp.com
OIDC_CLIENT_ID="280710674965926769@geomapfish"
VITE_GEOSHOP_URL=ugsp-geoshop-test.camptocamp.com
30 changes: 0 additions & 30 deletions geoportal/.prospector.yaml

This file was deleted.

75 changes: 0 additions & 75 deletions geoportal/Dockerfile

This file was deleted.

6 changes: 0 additions & 6 deletions geoportal/Makefile

This file was deleted.

58 changes: 0 additions & 58 deletions geoportal/alembic.ini

This file was deleted.

19 changes: 0 additions & 19 deletions geoportal/alembic.yaml

This file was deleted.

121 changes: 0 additions & 121 deletions geoportal/development.ini

This file was deleted.

Loading

0 comments on commit e23367f

Please sign in to comment.