зеркало из https://github.com/twbs/rorschach.git
1.2 KiB
1.2 KiB
Hacking on Rorschach
How do I build Rorschach?
- Install sbt
- Go to your
rorschach
directory. - Run
sbt compile
How do I run the Rorschach service locally for test purposes?
This method is not recommended for use in production deployments!
- Ensure that sbt is installed (see above).
- Go to your
rorschach
directory. - Run
sbt
- At the sbt prompt, enter
re-start 9090
(replace9090
with whatever port you want the HTTP server to run on) orre-start
(which will use the default port specified inapplication.conf
). Note that running on ports <= 1024 requires root privileges (not recommended) or using port mapping.
How do I generate a single self-sufficient JAR that includes all of the necessary dependencies?
- Ensure that sbt is installed (see above).
- Go to your
rorschach
directory. - Run
sbt assembly
- If the build is successful, the desired JAR will be generated as
target/scala-2.10/rorschach-assembly-1.0.jar
.
Licensing
Rorschach is licensed under The MIT License. By contributing to Rorschach, you agree to license your contribution under The MIT License.