Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
37 additions
and
48 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
Containerless Spring MVC | ||
------------------------ | ||
|
||
Run Spring MVC in a self-contained / containerless application. | ||
|
||
### Run Locally | ||
|
||
Build with Maven: | ||
|
||
mvn package | ||
|
||
Run: | ||
|
||
java -cp target/classes:target/dependency/* com.jamesward.Webapp | ||
|
||
Open: | ||
|
||
> [http://localhost:8080](http://localhost:8080) | ||
|
||
### Run on Heroku | ||
|
||
Create an app: | ||
|
||
heroku create | ||
|
||
Deploy: | ||
|
||
git push heroku master | ||
|
||
Open: | ||
|
||
heroku open |
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 was deleted.
Oops, something went wrong.
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
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,6 +1,6 @@ | ||
<!doctype html> | ||
<html> | ||
<body> | ||
hello, HTTPS | ||
hello, world | ||
</body> | ||
</html> |