Task description: https://gist.github.com/sherpc/22409f4184e039ebbd0ebddd3ee59122
Launch the application by issuing one of the following commands:
SERVER_HOST=localhost SERVER_PORT=8080 lein run
You can generate a standalone jar and run it:
lein uberjar
java -Dserver.host=localhost -Dserver.port=8080 -jar target/flocktory_api-0.1.0-SNAPSHOT-standalone.jar
Launch the REPL the following commands:
lein repl
(require '[flocktory_api.service.queue :as q])
Then run server:
(user/go)
(def feed (slurp "./fixtures/scala02.xml"))
https://stackoverflow.com/questions/21294294/run-tests-from-clojure-repl-and-leiningen
(require '[clojure.test :refer [run-tests]])
(require 'your-ns.example-test :reload-all)
(run-tests 'your-ns.example-test)
Copyright © 2020 Denis Larionov