All Projects → heroku → gradle-getting-started

heroku / gradle-getting-started

Licence: MIT License
No description, website, or topics provided.

Programming Languages

HTML
75241 projects
java
68154 projects - #9 most used programming language
CSS
56736 projects
shell
77523 projects

gradle-getting-started

A barebones Gradle app, which can easily be deployed to Heroku.

This application support the Getting Started with Gradle on Heroku article - check it out.

Running Locally

Make sure you have Java installed. Also, install the Heroku Toolbelt.

$ git clone https://github.com/heroku/gradle-getting-started.git
$ cd gradle-getting-started
$ ./gradlew stage
$ heroku local web

Your app should now be running on localhost:5000.

If you're going to use a database, ensure you have a local .env file that reads something like this:

DATABASE_URL=postgres://localhost:5432/gradle_database_name

Deploying to Heroku

$ heroku create
$ git push heroku master
$ heroku open

Documentation

For more information about using Java on Heroku, see these Dev Center articles:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].