# java-heroku **Repository Path**: phodal/java-heroku ## Basic Information - **Project Name**: java-heroku - **Description**: simple java project - **Primary Language**: Java - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-08-02 - **Last Updated**: 2022-08-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # gradle-getting-started This application support the [Getting Started with Gradle on Heroku](https://devcenter.heroku.com/articles/getting-started-with-gradle-on-heroku) article - check it out. ## Running Locally Make sure you have Java installed. Also, install the [Heroku Toolbelt](https://toolbelt.heroku.com/). ```sh $ 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](http://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 ```sh $ heroku create $ git push heroku master $ heroku open ``` ## Documentation For more information about using Java on Heroku, see these Dev Center articles: - [Java on Heroku](https://devcenter.heroku.com/categories/java)