https://github.com/boot-clj/boot-war-example
example of uberwar kind of thing
https://github.com/boot-clj/boot-war-example
Last synced: 9 months ago
JSON representation
example of uberwar kind of thing
- Host: GitHub
- URL: https://github.com/boot-clj/boot-war-example
- Owner: boot-clj
- Created: 2015-04-11T19:56:01.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-01-26T03:26:09.000Z (almost 9 years ago)
- Last Synced: 2025-04-18T22:51:45.295Z (9 months ago)
- Language: Clojure
- Size: 3.91 KB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# boot-war-example
Example of an uberwar kind of thing.
## Test with jetty runner
Build the war:
boot build-war
Download [jetty-runner](http://central.maven.org/maven2/org/eclipse/jetty/jetty-runner/9.4.1.v20170120/jetty-runner-9.4.1.v20170120.jar):
curl -o jetty-runner.jar http://central.maven.org/maven2/org/eclipse/jetty/jetty-runner/9.4.1.v20170120/jetty-runner-9.4.1.v20170120.jar
Run the war:
java -jar jetty-runner.jar target/app.war
Visit [http://localhost:8080/](http://localhost:8080/)
## Develop locally
Start a REPL server and local web server:
boot dev
Visit [http://localhost:8080/](http://localhost:8080/)
You should be able to make changes to `src/boot_war_example/core.clj` and reload
the browser and see your changes take effect.
You can also connect to the running server's JVM in a repl with `boot repl -c`
in the project directory.