Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hostwithquantum/runway-example-java
example java app for runway
https://github.com/hostwithquantum/runway-example-java
java planetary-quantum runway
Last synced: 3 days ago
JSON representation
example java app for runway
- Host: GitHub
- URL: https://github.com/hostwithquantum/runway-example-java
- Owner: hostwithquantum
- Created: 2023-12-01T16:17:40.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-13T09:05:14.000Z (5 months ago)
- Last Synced: 2024-12-30T21:15:55.796Z (14 days ago)
- Topics: java, planetary-quantum, runway
- Language: Java
- Homepage: https://www.runway.horse/
- Size: 49.8 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Runway Example java App
This is an example app demonstrating how to deploy a java app
to [runway](https://www.runway.horse/).* clone this repo, and navigate into that directory
* `runway app create`
* `runway app deploy`
* `runway open`You can then deploy changes by `git commit`ing them, and running `runway app
deploy` again.## Tuning Memory Usage
In order for the app to fit into the smaller runway plans, you'll need to adjust
some runtime config options, via something like:* `runway app config set BPL_JVM_THREAD_COUNT=3 JAVA_TOOL_OPTIONS=-XX:ReservedCodeCacheSize=16M`
(additional documentation is available at https://github.com/paketo-buildpacks/bellsoft-liberica?tab=readme-ov-file#configuration)
---
This app uses Gradle and Spring Boot - additional documentation for other kinds
of java apps is available at https://paketo.io/docs/howto/java/.You can run the application with the following command on localhost:
```sh
./gradlew bootRun # (or just "gradle bootRun" if you have gradle installed)
```(and then go to http://localhost:5000/)