-
mvn spring-boot:run
-
terminate spring boot process
-
heroku login
-
heroku create
-
git init
-
git remote-v
, if this returns blank, run step 7, else skip to step 8 -
git remote add heroku <heroku git url>
-
git add.
-
git commit -m"new"
-
add a new file under workshop 11 root directory named system.properties. Append the below in the file:
java.runtime.version=17
-
git push origin main
(Note: from one level above root folder) -
git subtree push --prefix workshop11 heroku main
(Note: from one level above root folder) -
copy the url of heroku and paste to the browser
-
git remote add origin
-
To run with command line (only works with command prompt and not bash):
mvn spring-boot:run -Dspring-boot.run.arguments=--port=8081
-
Notifications
You must be signed in to change notification settings - Fork 0
The objective of this workshop is to create a basic SpringBoot application. The application will be serving static files
Boxyboxy/server-side-d11
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
The objective of this workshop is to create a basic SpringBoot application. The application will be serving static files
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published