-
Couldn't load subscription status.
- Fork 3
Deploy Steps
Jonathan Austin edited this page Dec 2, 2019
·
2 revisions
The samples are currently deployed to seperate applications on Heroku. After building a local copy of the samples, the three WAR files are deployed to their app on Heroku.
-
git clone https://github.com/bordertech/wcomponents-samples.git(first time only) cd wcomponents-samplesmvn install -Popenshift
Note - The openshift profile creates the sample war files with the correct names in the one location.
- Create an account on Heroku
- Get access to the
wcomponents-sampleapps (ask current wcomponents team member). - Install the Heroku CLI.
- Install plugin to deploy war files to Tomcat.
heroku plugins:install heroku-cli-deploy
- Goto
wcomponents-samplesdirectory. heroku war:deploy target/chart.war --app wcomponents-samples-chart --webapp-runner 8.5.9.0heroku war:deploy target/client.war --app wcomponents-samples-client --webapp-runner 8.5.9.0heroku war:deploy target/fileupload.war --app wcomponents-samples-fileupload --webapp-runner 8.5.9.0
Note - Requires JAVA 8 to run heroku deploy.
Note - The '8.5.9.0' version of webapp-runner is specified as newer versions cause a issue with the JSR107 redis caching provider included in the runner.