Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pjagielski/docker-java-hipster
Hipster Java development environment built with docker
https://github.com/pjagielski/docker-java-hipster
Last synced: 2 days ago
JSON representation
Hipster Java development environment built with docker
- Host: GitHub
- URL: https://github.com/pjagielski/docker-java-hipster
- Owner: pjagielski
- Created: 2013-11-24T20:59:27.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-05-07T10:35:51.000Z (over 10 years ago)
- Last Synced: 2024-04-16T11:11:21.472Z (7 months ago)
- Language: Java
- Size: 167 KB
- Stars: 10
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
docker-java-hipster
===================Hipster Java development environment built with [docker](http://docker.io) and powered by [gvm](http://gvmtool.net/).
Featured:
- [gradle](http://www.gradle.org/)
- [spring-boot](http://projects.spring.io/spring-boot/)
- [vert.x](http://vertx.io/)
- [leiningen](http://leiningen.org/)
- [lazybones](https://github.com/pledbrook/lazybones)Building image
--------------```bash
docker build -t /hipster-java .
```Running container
-----------------```bash
docker run -p 8088:8080 -i -t -v `pwd`/examples:/home/hipster/examples /hipster-java
```Running example projects
----------------Just run commands below in a container and then visit [http://localhost:8088](http://localhost:8088) on your host machine for working samples. `examples` dir is hosted from outside the container so restarting container won't erase your changes.
**Spring boot light**
```bash
cd examples/spring-boot-simple && spring run SampleController.java
```**Spring boot complete**
```bash
cd examples/spring-boot-complete
gradle build
java -jar build/libs/spring-boot-complete.jar
```**Vert.x**
```bash
cd examples/vertx && vertx run ServerExample.java
```**Clojure - compojure**
```bash
cd examples/compojure-simple && lein ring server-headless 8080
```