https://github.com/tailrecursion/hoplon-uberwar
A minimal hoplon hello world uberwar
https://github.com/tailrecursion/hoplon-uberwar
Last synced: 7 months ago
JSON representation
A minimal hoplon hello world uberwar
- Host: GitHub
- URL: https://github.com/tailrecursion/hoplon-uberwar
- Owner: tailrecursion
- License: epl-1.0
- Created: 2013-12-16T22:09:16.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-05-21T12:58:46.000Z (about 12 years ago)
- Last Synced: 2024-05-09T13:59:49.030Z (about 2 years ago)
- Language: Clojure
- Size: 225 KB
- Stars: 3
- Watchers: 10
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hoplon Uberwar Example
An example project that uses Hoplon and Castra, with tasks to help you package
it up as an uberwar file or work locally during development.
## Usage
Build uberwar for production:
```
$ boot war
```
Build Hoplon for development (needs 2 terminals):
```
# in one shell
$ boot watch hoplon
# in the other shell
$ boot dev
```
The `dev` task will pop a REPL in the `hello-world.core` namespace. From there
you can start a local Jetty server:
```clojure
hello-world.core=> (def server (dev-server))
```
Then open [http://localhost:33333](http://localhost:33333) in your browser. Have
fun!
## License
Copyright © 2013 FIXME
Distributed under the Eclipse Public License either version 1.0 or (at
your option) any later version.