mirror of
https://github.com/dokku/dokku.git
synced 2026-02-24 20:19:52 +01:00
34 lines
860 B
Markdown
34 lines
860 B
Markdown
# scala-getting-started
|
|
|
|
A barebones Scala app, which can easily be deployed to Heroku.
|
|
|
|
This application support the [Getting Started with Scala on Heroku](https://devcenter.heroku.com/articles/getting-started-with-scala) article - check it out.
|
|
|
|
## Running Locally
|
|
|
|
Make sure you have Scala and sbt installed. Also, install the [Heroku Toolbelt](https://toolbelt.heroku.com/).
|
|
|
|
```sh
|
|
$ git clone https://github.com/heroku/scala-getting-started.git
|
|
$ cd scala-getting-started
|
|
$ sbt compile stage
|
|
$ foreman start web
|
|
```
|
|
|
|
Your app should now be running on [localhost:5000](http://localhost:5000/).
|
|
|
|
## Deploying to Heroku
|
|
|
|
```sh
|
|
$ heroku create
|
|
$ git push heroku master
|
|
$ 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)
|
|
|