__ __ .__ __
_______/ |______ _/ |_ __ __ ______ _____ ____ ____ |__|/ |_ ___________
/ ___/\ __\__ \\ __\ | \/ ___/ / \ / _ \ / \| \ __\/ _ \_ __ \
\___ \ | | / __ \| | | | /\___ \ | Y Y ( <_> ) | \ || | ( <_> ) | \/
/____ > |__| (____ /__| |____//____ > |__|_| /\____/|___| /__||__| \____/|__|
\/ \/ \/ \/ \/
The status-monitor-service provides a server-side web dashboard for visualizing the operational status of various services.
Code from this project is shared via the repository: https://github.com/practicalli/status-monitor.
The project was created with Leiningen 2.8.1, using the compojure template.
Open the src/practicalli/status-monitor-service.clj
file in a Clojure aware editor and start a REPL
Run all the project tests using Cognitect Labs test runner, which is included in the project deps.edn
file.
:dev
adds the ring-mock library for generating request data. :test
adds the test/
directory to the class path to include the unit test code.
clojure -A:dev:test:runner
Cognitect Labs, eftest and kaocha test runners are available in the practicalli/clojure-deps-edn repository
Run the application by specifying the main namespace and Clojure will look for the -main
function in that namespace and run the application.
clojure -m practicalli.status-monitor-service
Create an uberjar using the depstar
library for Clojure Tools
clojure -A:uberjar
Then run the application on the comand line using the uberjar created
java -jar status-monitor-service.jar
Copyright © 2020 Practicalli
Distributed under the Creative Commons Attribution Share-Alike 4.0 International