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
- A GitHub account.
- A Heroku account.
- The following commands available in your terminal:
- The following environment variables set:
GITHUB_USERNAMEset to the user who'll own your application's git repository.
GITHUB_PERSONAL_ACCESS_TOKENfor 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_KEYfor the Heroku API Key to be used by the script to create your app.