- Notifications
You must be signed in to change notification settings - Fork1
donhenton/spring-boot-birt
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Application using Spring Boot to expose a rest service for the BIRTdatabase. This application is deployed to aws athttp://birt.awsdhenton.com
If built from the plugin a specific run time associate will be built see thenbactions.xml file. Select all the checkboxes when using the wizard.
This command builds the app and creates the react javascript app This is whatwould be used to create the jar for heroku deploying
mvn clean package -DskipTests -Preact
mvn clean spring-boot:run -DskipTests=true
see also the debugit.sh file
java -Dspring.profiles.active=prod -Dserver.port=7777 -jar target/spring-boot-birt-0.0-SNAPSHOT.jar
Note that the order of the parameters is importantOn heroku this command will be in the Procfile and the port number will be $PORT
In dev, DATABASE_URL in netbeans is set in the application-dev properites file,and on heroku, its set as a system property by Heroku
With the advent of npm gulp build. runit.sh will run the dev and allow forreloading of the app via live reload
For this app you must use the Heroku fat jar deploy.
heroku deploy:jar target/spring-boot-birt-0.0.1-SNAPSHOT.jar --app donhenton-spring-boot
Or you can use the maven deploy:
- login onto heroku via the command line
- answer prompt on browser (requires upgrade to CLI > 22)
- mvn clean heroku:deploy -Preact -DskipTests
seehttps://devcenter.heroku.com/articles/deploying-executable-jar-files
Database instructionscan be found athttps://github.com/donhenton/dbscripts/blob/master/loading_to_heroku.md. For aws you can usethe procedure here:https://github.com/donhenton/postgres-sandbox/tree/master/jdatabase_backup
seehttps://github.com/donhenton/webjar-app
version:'3.1'services:boot:container_name:bootports: -"9000:9000"image:235926060045.dkr.ecr.us-east-2.amazonaws.com/spring-boot-birt:latestenvironment: -DATABASE_URL=postgres://user:password@databaseDNS:5432/jdatabase -spring.profiles.active=aws
Unlike heroku the props files are in charge of specifying the port
About
Spring boot example project
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.