upd README.md

This commit is contained in:
ansgarz 2022-06-13 18:02:44 +02:00
parent b505ed838b
commit 1fa978e4cc
2 changed files with 2 additions and 15 deletions

View file

@ -19,11 +19,6 @@ Click on the image to try out live in your browser:
Your input will stay in your browser. No server interaction is required. Your input will stay in your browser. No server interaction is required.
You will also be able to try out on cli:
```
target/graalvm/c4k-gitea src/test/resources/valid-config.edn src/test/resources/valid-auth.edn | kubeval -
target/graalvm/c4k-gitea src/test/resources/valid-config.edn src/test/resources/valid-auth.edn | kubectl apply -f -
```
## Gitea setup ## Gitea setup
@ -32,6 +27,8 @@ After having deployed the yaml-file generated by the c4k-gitea module you need t
* Open the URL of your just deployed gitea-server and you will be shown a configuration page. * Open the URL of your just deployed gitea-server and you will be shown a configuration page.
* Add the administrator's data and submit the page. * Add the administrator's data and submit the page.
* The required database will be created and the Gitea setup will be completed. * The required database will be created and the Gitea setup will be completed.
* The SSH-URL for a repo has the format: "ssh://git@domain:30005/[]/[repo].git
Example: "git clone ssh://git@repo.test.meissa-gmbh.de:30005/myuser/c4k-gitea.git"
## License ## License

View file

@ -1,10 +0,0 @@
(ns dda.c4k-gitea.browser-test
(:require
[cljs.test :refer-macros [deftest is are testing run-tests]]
[hickory.render :as hr]
[dda.c4k-gitea.browser :as cut]))
(deftest should-generate-group
(is (= "<div class=\"rounded border border-3 m-3 p-2\"><b style=\"z-index: 1; position: relative; top: -1.3rem;\">id1</b><fieldset>content</fieldset></div>"
(apply hr/hickory-to-html
(cut/generate-group "id1" "content")))))