Skip to content
Create full http4k deployment pipelines using a single command
Shell
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.
.gitignore
README.md
create-app.sh
destroy-app.sh

README.md

http4k-bootstrap

Create a full deployment pipeline (Github -> TravisCI -> Heroku) of a working http4k application using a single command:

curl -s https://raw.githubusercontent.com/http4k/http4k-bootstrap/master/create-app.sh  \
  -o /tmp/create-app.sh && bash /tmp/create-app.sh

This should generate an output like the following:

Enter your app name: my-awesome-app
Setting up my-awesome-app

Creating Heroku app...
Creating GitHub repository...
Enabling TravisCI...
Preparing application skeleton...
Pushing deployment configuration...

Your application should be now ready:
 * Source code: [...]/my-awesome-app
 * TravisCI: https://travis-ci.org/my-github-user/my-awesome-app
 * Heroku deployment: http://my-awesome-app.herokuapp.com

Prerequisites

  • A GitHub account.
  • A Heroku account.
  • The following commands available in your terminal:
    • jq
    • openssl
  • The following environment variables set:
    • GITHUB_USERNAME set to the user who'll own your application's git repository.
    • GITHUB_PERSONAL_ACCESS_TOKEN for the GitHub Personal Access Token to be used by the script to set up your repository and TravisCI (the owner must be the same user defined above).
    • HEROKU_API_KEY for the Heroku API Key to be used by the script to create your app.
You can’t perform that action at this time.