diff --git a/Procfile b/Procfile deleted file mode 100644 index 42d6e3a..0000000 --- a/Procfile +++ /dev/null @@ -1 +0,0 @@ -web: java -Dserver.port=$PORT -jar target/game-schedule-pdf-generator-1.0.20.jar \ No newline at end of file diff --git a/README.md b/README.md index 59c4d34..1970a8e 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # swissunihockey-game-schedule-pdf-creator + [![Build Status](https://travis-ci.com/rufer7/swissunihockey-game-schedule-pdf-creator.svg?branch=master)](https://travis-ci.com/rufer7/swissunihockey-game-schedule-pdf-creator) [![Coverage Status](https://coveralls.io/repos/rufer7/swissunihockey-game-schedule-pdf-creator/badge.svg?branch=master)](https://coveralls.io/r/rufer7/swissunihockey-game-schedule-pdf-creator?branch=master) [![License](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg)](https://github.com/rufer7/swissunihockey-game-schedule-pdf-creator/blob/master/LICENSE) - A web application that generates and serves swiss unihockey game schedules as PDF documents ## Swiss unihockey API @@ -11,12 +11,31 @@ A web application that generates and serves swiss unihockey game schedules as PD This application consumes the [swiss unihockey API v2](https://api-v2.swissunihockey.ch/api/doc) ## App information + To get information about the application, call the following endpoint. `.../info` -## Deployment to Heroku +## Deployment to Azure + +### Prerequisites + +- Azure tenant +- Azure subscription + +### Step by Step Manual + +1. Create a new resource group (i.e. `swuh-p1-rg-pdfcreator`) +1. Create a new app service plan in the before created resource group (i.e. `swuh-p1-appplan-pdfcreator`) + + - Operating system: `Linux` + - Pricing tier: `B1` -Application will be deployed autmatically on every commit to master (i.e. release) +1. Create a new web app (i.e. `swuh-p1-appsrv-pdfcreator`) -For information about the deployment to heroku have a look at [Getting Started with Java on Heroku](https://devcenter.heroku.com/articles/getting-started-with-java#set-up) + - Publish: `Code` + - Runtime stack: `Java 8` + - Java web server stack: `Java SE (Embedded Web Server)` + - Operating system: `Linux` + - Linux Plan: select before created app service plan + - Enable and configure continuous deployment under `Deployment` tab diff --git a/pom.xml b/pom.xml index 718fc4f..eb36c5b 100644 --- a/pom.xml +++ b/pom.xml @@ -7,14 +7,14 @@ org.springframework.boot spring-boot-starter-parent - 1.2.5.RELEASE + 1.5.22.RELEASE be.rufer.swissunihockey game-schedule-pdf-generator - 1.0.20 + 1.1.0 jar swissunihockey-game-schedule-pdf-creator @@ -50,12 +50,12 @@ 1.8 3.3.7-1 - 2.1.4 - 1.3.17-1 - 1.0.6.RELEASE - 1.0.7 - 2.0.24 - 1.18.12 + 2.2.4 + 1.8.2 + 1.4.7.RELEASE + 1.0.8 + 2.0.27 + 1.18.24