Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/markhu/sandbox

sandbox ⌛ experiments, scripts, snippets (AWS, Docker, ...)
https://github.com/markhu/sandbox

groovy javascript json python react-native

Last synced: about 1 month ago
JSON representation

sandbox ⌛ experiments, scripts, snippets (AWS, Docker, ...)

Awesome Lists containing this project

README

        

sandbox
=======

sandbox is a test

## basic Git steps:

1. `git-clone`
2. (edit files)
2. `git add` # (optional)
3. `git-commit`
4. `git-push`

### basic docker steps:

1. `docker build -t` repo/name .
2. `docker run` repo/name

### basic Spock steps:

Note that running the Groovy/Spock scripts standalone requires _un-commenting_ the Grapes/Grab lines.
And conversely, running them under Maven requires _commenting out_ the Grapes/Grab lines.

1. `mvn clean test` ; # runs the tests under src/ via Maven
2. `./src/test/groovy/spock/test-spock-Spec.groovy` ; # standalone script

### basic Vert.X steps

Note that running Groovy/VertX scripts from bash env/shbang has different instantiation defaults vs. using the `vertx` command-line lanucher.
See more docs at http://vertx.io/docs/vertx-core/groovy/

1. `vertx run ScriptName` # run in VertX context (auto-import certain libs + instantiated object(s)
2. `vertx start AppScriptSrv` # launch VertX app into background process (daemon)
3. `vertx run ServiceScript -clustert` # enable VertX eventBus (HazelCast)
---

see also [..](..)