Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 6, 2020. It is now read-only.

gsag/spring-mvc-heroku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

86 Commits

Repository files navigation

spring-mvc-heroku

A Spring MVC application, which can easily be deployed to Heroku.

This application was created following the Getting Started with Java on Heroku article - check it out.

Features

You will find in this Maven project:

  • Integration with the Web Framework Spring MVC.
  • Configurations done through Java config and annotations.
  • Integration with Thymeleaf templates.
  • Security and authentication with Spring Security.

Running Locally

Make sure you have Java 8 and Maven installed. Also, install the Heroku Toolbelt.

$ git clone https://github.com/gsag/spring-mvc-heroku.git
$ cd spring-mvc-heroku
$ ./run.sh

Your app should now be running on localhost:9090.

Ensure you have a local PostgreSQL instance installed for development tests.

Database configurations can be changed at resources/database.properties.

Deploying to Heroku

$ heroku create spring-app-name
$ git push heroku master
$ heroku open

Besides, you can configure automatic deploys by using a Github repository branch. See the Github Integration article.

Documentation

For more information about using Java on Heroku, see these Dev Center articles:

Screenshots

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /