Demo App with Spring Boot + Angular for Azure deployment.
See this blog post for detailed instructions: https://www.kleemans.ch/deploy-a-spring-boot-angular-app-to-azure
Short version:
- Go into the frontend folder
demoapp-frontend
and build the it:ng build --prod
- Copy the frontend build into the
static
-resources by running./copy.sh
- Create a "Resource Group" and new "App Service" on Azure Portal, and update those parameters in
build.gradle
. - Install AzureCLI, and login.
- Run the Gradle tasks
bootJar
and thenazureWebappDeploy
to deploy the webapp.