formatting
This commit is contained in:
parent
ff93676f65
commit
0110cc17e2
2 changed files with 24 additions and 24 deletions
|
|
@ -2,44 +2,44 @@
|
||||||
;; #biff/env and #biff/secret will load values from the environment and from config.env.
|
;; #biff/env and #biff/secret will load values from the environment and from config.env.
|
||||||
{:biff/base-url #profile {:prod #join ["https://" #biff/env DOMAIN]
|
{:biff/base-url #profile {:prod #join ["https://" #biff/env DOMAIN]
|
||||||
:default "http://localhost:8080"}
|
:default "http://localhost:8080"}
|
||||||
:biff/host #profile {:dev "0.0.0.0"
|
:biff/host #profile {:dev "0.0.0.0"
|
||||||
:default "localhost"}
|
:default "localhost"}
|
||||||
:biff/port 8080
|
:biff/port 8080
|
||||||
|
|
||||||
:example/db-url #profile {:prod "jdbc:sqlite:storage/site.db"
|
:example/db-url #profile {:prod "jdbc:sqlite:storage/site.db"
|
||||||
:dev "jdbc:sqlite:storage/site.db"}
|
:dev "jdbc:sqlite:storage/site.db"}
|
||||||
|
|
||||||
:biff.beholder/enabled #profile {:dev true
|
:biff.beholder/enabled #profile {:dev true
|
||||||
:default false}
|
:default false}
|
||||||
:biff.middleware/secure #profile {:dev false
|
:biff.middleware/secure #profile {:dev false
|
||||||
:default true}
|
:default true}
|
||||||
:biff.middleware/cookie-secret #biff/secret COOKIE_SECRET
|
:biff.middleware/cookie-secret #biff/secret COOKIE_SECRET
|
||||||
:biff/jwt-secret #biff/secret JWT_SECRET
|
:biff/jwt-secret #biff/secret JWT_SECRET
|
||||||
:biff.refresh/enabled #profile {:dev true
|
:biff.refresh/enabled #profile {:dev true
|
||||||
:default false}
|
:default false}
|
||||||
|
|
||||||
:postmark/api-key #biff/secret POSTMARK_API_KEY
|
:postmark/api-key #biff/secret POSTMARK_API_KEY
|
||||||
:postmark/from #biff/env POSTMARK_FROM
|
:postmark/from #biff/env POSTMARK_FROM
|
||||||
|
|
||||||
:recaptcha/secret-key #biff/secret RECAPTCHA_SECRET_KEY
|
:recaptcha/secret-key #biff/secret RECAPTCHA_SECRET_KEY
|
||||||
:recaptcha/site-key #biff/env RECAPTCHA_SITE_KEY
|
:recaptcha/site-key #biff/env RECAPTCHA_SITE_KEY
|
||||||
|
|
||||||
:biff.nrepl/port #or [#biff/env NREPL_PORT "7888"]
|
:biff.nrepl/port #or [#biff/env NREPL_PORT "7888"]
|
||||||
:biff.nrepl/args ["--port" #ref [:biff.nrepl/port]
|
:biff.nrepl/args ["--port" #ref [:biff.nrepl/port]
|
||||||
"--middleware" "[cider.nrepl/cider-middleware,refactor-nrepl.middleware/wrap-refactor]"]
|
"--middleware" "[cider.nrepl/cider-middleware,refactor-nrepl.middleware/wrap-refactor]"]
|
||||||
|
|
||||||
:biff.system-properties/user.timezone "UTC"
|
:biff.system-properties/user.timezone "UTC"
|
||||||
:biff.system-properties/clojure.tools.logging.factory "clojure.tools.logging.impl/slf4j-factory"
|
:biff.system-properties/clojure.tools.logging.factory "clojure.tools.logging.impl/slf4j-factory"
|
||||||
|
|
||||||
:biff.tasks/server #biff/env DOMAIN
|
:biff.tasks/server #biff/env DOMAIN
|
||||||
:biff.tasks/main-ns com.biffweb.my-project
|
:biff.tasks/main-ns com.biffweb.my-project
|
||||||
:biff.tasks/on-soft-deploy "\"(com.biffweb.my-project/on-save @com.biffweb.my-project/system)\""
|
:biff.tasks/on-soft-deploy "\"(com.biffweb.my-project/on-save @com.biffweb.my-project/system)\""
|
||||||
:biff.tasks/generate-assets-fn com.biffweb.my-project/generate-assets!
|
:biff.tasks/generate-assets-fn com.biffweb.my-project/generate-assets!
|
||||||
:biff.tasks/css-output "target/resources/public/css/main.css"
|
:biff.tasks/css-output "target/resources/public/css/main.css"
|
||||||
:biff.tasks/deploy-untracked-files [#ref [:biff.tasks/css-output]
|
:biff.tasks/deploy-untracked-files [#ref [:biff.tasks/css-output]
|
||||||
"config.env"]
|
"config.env"]
|
||||||
;; `clj -M:dev prod-dev` will run the soft-deploy task whenever files in these directories are changed.
|
;; `clj -M:dev prod-dev` will run the soft-deploy task whenever files in these directories are changed.
|
||||||
:biff.tasks/watch-dirs ["src" "dev" "resources" "test"]
|
:biff.tasks/watch-dirs ["src" "dev" "resources" "test"]
|
||||||
|
|
||||||
;; Uncomment this line if you're on Windows/don't have rsync and your local branch is
|
;; Uncomment this line if you're on Windows/don't have rsync and your local branch is
|
||||||
;; called main instead of master:
|
;; called main instead of master:
|
||||||
|
|
|
||||||
|
|
@ -91,9 +91,9 @@
|
||||||
:align-items "center"}}
|
:align-items "center"}}
|
||||||
"now playing"])]]
|
"now playing"])]]
|
||||||
|
|
||||||
[:td [:div
|
[:td [:div
|
||||||
{:id (str "player" "-" play_order "-game-score")}
|
{:id (str "player" "-" play_order "-game-score")}
|
||||||
game_score]]]))]]))
|
game_score]]]))]]))
|
||||||
|
|
||||||
(defn display-game [{:keys [path-params]
|
(defn display-game [{:keys [path-params]
|
||||||
:example/keys [ds]
|
:example/keys [ds]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue