Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/waterlink/docker-activator
Simple development docker image to run through alias in development with full scala, sbt, activator stack
https://github.com/waterlink/docker-activator
Last synced: about 1 month ago
JSON representation
Simple development docker image to run through alias in development with full scala, sbt, activator stack
- Host: GitHub
- URL: https://github.com/waterlink/docker-activator
- Owner: waterlink
- License: mit
- Created: 2015-11-14T08:53:11.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-15T18:57:06.000Z (about 9 years ago)
- Last Synced: 2024-10-16T07:16:35.334Z (3 months ago)
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Activator docker image
Full scala, sbt, activator stack tailored to be used as handy development docker image.
## Usage
Add to your `bashrc` or `zshrc`:
```bash
# Tailor `-u $UID:GID` directive if it does not work for you
alias _devdocker="docker run -it --rm -v \$(pwd):\$(pwd) -w \$(pwd) -e HOME=/tmp -u $UID:$GID"alias activator="_devdocker waterlink/activator activator"
alias activator-ui="rm \?/.activator/*/.{currentpid,lock}; _devdocker -p 8000:8000 waterlink/activator activator ui -Dhttp.address=0.0.0.0"alias sbt="_devdocker waterlink/activator sbt"
# .. an so on ..
```And use it like:
```bash
activator-ui # runs activator ui on localhost:8000 (or $(docker-machine ip dev):8000)
activator new # new project
# .. and so on ..
```## License
MIT