https://github.com/heroku/scala-getting-started
Getting Started with Scala / Play on Heroku.
https://github.com/heroku/scala-getting-started
heroku heroku-languages sample-app scala
Last synced: 6 months ago
JSON representation
Getting Started with Scala / Play on Heroku.
- Host: GitHub
- URL: https://github.com/heroku/scala-getting-started
- Owner: heroku
- License: mit
- Created: 2014-08-14T09:50:20.000Z (over 11 years ago)
- Default Branch: main
- Last Pushed: 2025-04-03T14:10:03.000Z (9 months ago)
- Last Synced: 2025-06-10T04:08:26.773Z (7 months ago)
- Topics: heroku, heroku-languages, sample-app, scala
- Language: HTML
- Homepage: https://devcenter.heroku.com/articles/getting-started-with-scala
- Size: 47.9 KB
- Stars: 48
- Watchers: 86
- Forks: 49
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Scala Getting Started
A barebones Scala app, which can easily be deployed to Heroku.
This application supports the tutorials for both the [Cedar and Fir generations](https://devcenter.heroku.com/articles/generations) of the Heroku platform. You can check them out here:
- [Getting Started on Heroku with Scala](https://devcenter.heroku.com/articles/getting-started-with-scala)
- [Getting Started on Heroku Fir with Scala](https://devcenter.heroku.com/articles/getting-started-with-scala-fir)
## Deploying to Heroku
Using resources for this example app counts towards your usage. [Delete your app](https://devcenter.heroku.com/articles/heroku-cli-commands#heroku-apps-destroy) and [database](https://devcenter.heroku.com/articles/heroku-postgresql#removing-the-add-on) as soon as you are done experimenting to control costs.
### Deploy on Heroku [Cedar](https://devcenter.heroku.com/articles/generations#cedar)
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 plans [here](https://blog.heroku.com/new-low-cost-plans).
Eligible students can apply for platform credits through our new [Heroku for GitHub Students program](https://blog.heroku.com/github-student-developer-program).
```text
$ git clone https://github.com/heroku/scala-getting-started
$ cd scala-getting-started
$ heroku create
$ git push heroku main
$ heroku open
```
### Deploy on Heroku [Fir](https://devcenter.heroku.com/articles/generations#fir)
By default, apps on [Fir](https://devcenter.heroku.com/articles/generations#fir) use 1X-Classic dynos. To create an app on [Fir](https://devcenter.heroku.com/articles/generations#fir) you'll need to
[create a private space](https://devcenter.heroku.com/articles/working-with-private-spaces#create-a-private-space)
first.
```text
$ git clone https://github.com/heroku/scala-getting-started
$ cd scala-getting-started
$ heroku create --space
$ git push heroku main
$ heroku ps:wait
$ heroku open
```
## Documentation
For more information about using Scala on Heroku, see these Dev Center articles:
- [Scala on Heroku](https://devcenter.heroku.com/categories/scala)