-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
31 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,41 @@ | ||
# 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 | ||
|
||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters