jmix-projects / amplicode-deployment-demo-r2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Serving Frontend

In most cases you'll want to serve frontend as static resources via a web severer (e.g. nginx/Apache). However, it's possible to serve the frontend straight from the Spring Boot app. Use -PincludeFrontend=true property to include the frontend to the backend build pipeline. You can customize context path of the frontend using PUBLIC_URL env variable. E.g. to serve the frontend from the root:

PUBLIC_URL=/; gw bootRun -PincludeFrontend=true

About


Languages

Language:TypeScript 55.5%Language:Java 42.1%Language:CSS 1.2%Language:HTML 1.0%Language:Dockerfile 0.2%Language:Shell 0.0%