Last active
May 25, 2021 13:45
-
-
Save sathyavijayan/877f8cced52731de67a517bd14e5bb63 to your computer and use it in GitHub Desktop.
cljdoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# step 1 - start cljdoc - website available at http://localhost:8080 | |
docker run --rm \ 1.01h Tue 25 May 14:42:05 2021 | |
--publish 8000:8000 \ | |
--volume "$HOME/.m2:/root/.m2" \ | |
--volume /tmp/cljdoc:/app/data \ | |
cljdoc/cljdoc | |
# step 2 - install jar locally. | |
lein install | |
# step 3 - ingest documentation for project. | |
# TODO: remember to change the project directory | |
docker run --rm \ | |
--volume "$HOME/.m2:/root/.m2" \ | |
--volume /tmp/cljdoc:/app/data \ | |
--volume /Users/sats/workspace/oss/sokka:/project \ | |
--entrypoint clojure \ | |
cljdoc/cljdoc -M:cli ingest \ | |
--git /project \ | |
--project ai.verbo/sokka \ | |
--version 0.0.1-SNAPSHOT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment