Sign inSign up

markhu/sandbox

By markhu

•Updated over 8 years ago

CentOS 6 for building Apache modules.

Image
0

10K+

markhu/sandbox repository overview

⁠sandbox

sandbox is a test

⁠basic Git steps:

  1. git-clone
  2. edit files
  3. git add # (optional)
  4. git-commit
  5. git-push
⁠basic docker steps:
  1. docker build -t repo/name .
  2. docker run repo/name <optional_command(s)>
⁠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 differet 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 ..⁠

Tag summary

Content type

Image

Digest

Size

121.9 MB

Last updated

over 8 years ago

docker pull markhu/sandbox