Skip to content
An http4k app that can be continuously deployed to Heroku via TravisCI
Shell Kotlin
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gradle/wrapper
src/main/kotlin/org/http4k/example
.gitignore
.travis.yml
Procfile
README.md
build.gradle
gradlew
gradlew.bat
rename.sh
settings.gradle
upgrade-http4k.sh

README.md

http4k + Heroku + Travis

build status

This application gets deployed to Heroku on every push to GitHub

Pre-requisites

You need to have installed:

Getting Started

  • Fork this repo
  • Configure Travis to build the new repo
  • Create your Heroku app:
heroku apps:create my-awesome-app
  • Update the app entry in .travis.yml
  • Update the deployment credentials
travis encrypt $(heroku auth:token) --add deploy.api_key
  • Commit and push your changes to GitHub:
git commit -am"Update travis config"
git push origin master

This will automatically trigger a new build and deployment of your app.

Running it locally

./gradlew stage
heroku local web

The app will be available on http://localhost:5000

Deploying it manually

git push heroku master
You can’t perform that action at this time.