This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
article updates for better connection handling
- Loading branch information
Showing
2 changed files
with
15 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,8 @@ | ||
# Embedded Jetty template application | ||
|
||
This is a template for a web application that uses embedded Jetty. The sample code consists of a JSP (this page) and a simple servlet. | ||
|
||
## Running the application locally | ||
|
||
First build with: | ||
|
||
$mvn clean install | ||
|
||
Then run it with: | ||
|
||
$java -cp target/classes:target/dependency/* com.example.Main | ||
|
||
# Run on Heroku | ||
|
||
heroku create | ||
heroku addons:add cloudamqp | ||
git push heroku master | ||
heroku scale scheduler=1 | ||
heroku scale worker=2 | ||
heroku logs -t |