- Notifications
You must be signed in to change notification settings - Fork1.4k
Getting Started with Java on Heroku.
License
heroku/java-getting-started
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
A barebones Java app, which can easily be deployed to Heroku.
This application supports the tutorials for both theCedar and Fir generations of the Heroku platform. You can check them out here:
Using resources for this example app counts towards your usage.Delete your app anddatabase as soon as you are done experimenting to control costs.
Deploy on HerokuCedar
By default, apps use Eco dynos if you are subscribed to Eco. Otherwise, it defaults to Basic dynos. The Eco dynos plan is shared across all Eco dynos in your account and is recommended if you plan on deploying many small apps to Heroku. Learn more about our low-cost planshere.
Eligible students can apply for platform credits through our newHeroku for GitHub Students program.
$ git clone https://github.com/heroku/java-getting-started$ cd java-getting-started$ heroku create$ git push heroku main$ heroku openDeploy on HerokuFir
By default, apps onFir use 1X-Classic dynos. To create an app onFir you'll need tocreate a private spacefirst.
$ git clone https://github.com/heroku/java-getting-started$ cd java-getting-started$ heroku create --space <space-name>$ git push heroku main$ heroku ps:wait$ heroku openFor more information about using Java on Heroku, see these Dev Center articles:
About
Getting Started with Java on Heroku.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.
Contributors11
Uh oh!
There was an error while loading.Please reload this page.