-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.example.edn
85 lines (74 loc) · 5.28 KB
/
config.example.edn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{ ;; server (server)
:triangulum.server/http-port 8080
:triangulum.server/mode "prod" ; FIXME: switch to "dev"
:triangulum.server/log-dir ""
:triangulum.server/handler triangulum.handler/authenticated-routing-handler
:triangulum.server/nrepl-bind "127.0.0.1"
:triangulum.server/nrepl-port 5555
:triangulum.server/nrepl false
:triangulum.server/cider-nrepl true
;; build-db (database)
:triangulum.build-db/admin-pass ""
:triangulum.build-db/dev-data true
:triangulum.build-db/file "db-backup.custom"
:triangulum.build-db/verbose true
;; database (database)
:triangulum.database/host "localhost"
:triangulum.database/port 5432
:triangulum.database/dbname "comimo"
:triangulum.database/user "comimo"
:triangulum.database/password "comimo"
;; email (mail)
:triangulum.email/host "smtp.gmail.com"
:triangulum.email/user "[email protected]"
:triangulum.email/pass "" ; REVIEW
:triangulum.email/tls true
:triangulum.email/port 587
:triangulum.email/base-url "http://localhost:8080"
;; git (app)
:triangulum.git/tags-url "https://github.com/sig-gis/comimo/tags"
;; handler (server)
:triangulum.handler/not-found-handler triangulum.views/not-found-handler
:triangulum.handler/redirect-handler comimo.handlers/redirect-handler
:triangulum.handler/route-authenticator comimo.handlers/route-authenticator
:triangulum.handler/routing-tables [comimo.routing/routes]
:triangulum.handler/session-key "REQUIRED:16_CHARS" ; REVIEW add 16 char session key
:triangulum.handler/bad-tokens #{".php"}
;; https (https) <-- These fields are not used in CoMiMo but are required to pass the spec check
:triangulum.https/email "[email protected]"
:triangulum.https/domain "comimo.sig-gis.com"
;; response (server)
:triangulum.response/response-type :json ; or :edn or :transit
;; views (app)
:triangulum.views/title {:en "Colombian Mining Monitoring"
:es "Monitoreo Minero Colombiano"}
:triangulum.views/description {:en "Colombian Mining Monitoring (CoMiMo) is an online mining monitoring application that uses machine learning and satellite imagery to alert government authorities, NGOs and concerned citizens about possible mining activities anywhere in Colombia, and enables them to assess the location, lawfulness and potential impacts to the environment of those mines."
:es "Monitoreo Minero Colombiano (CoMiMo) es una aplicación de monitoreo minero en línea que utiliza aprendizaje automático e imágenes satelitales para alertar a las autoridades gubernamentales, ONGs y ciudadanos preocupados sobre posibles actividades mineras en cualquier lugar de Colombia, y les permite evaluar la ubicación, la legalidad y los posibles impactos al entorno de esas minas."}
:triangulum.views/keywords {:en "colombian mining monitoring, comimo, satellite imagery, illegal mining, machine learning, image analysis, detection, crowdsourcing"
:es "monitoreo minero colombiano, comimo, imágenes satelitales, minería ilegal, aprendizaje automático, análisis de imágenes, detección, crowdsourcing"}
:triangulum.views/extra-head-tags [[:meta {:name "viewport" :content "width=device-width, user-scalable=no"}]
[:meta {:name "msapplication-TileColor" :content "#ffc40d"}]
[:meta {:name "msapplication-config" :content "/favicon/browserconfig.xml"}]
[:meta {:name "theme-color" :content "#ffffff"}]
[:link {:rel "apple-touch-icon" :sizes "180x180" :href "/favicon/apple-touch-icon.png"}]
[:link {:rel "icon" :type "image/png" :sizes "32x32" :href "/favicon/favicon-32x32.png"}]
[:link {:rel "icon" :type "image/png" :sizes "16x16" :href "/favicon/favicon-16x16.png"}]
[:link {:rel "mask-icon" :color "#5bbad5" :href "/favicon/safari-pinned-tab.svg"}]
[:link {:rel "shortcut icon" :href "/favicon/favicon.ico"}]
[:link {:rel "manifest" :href "/favicon/site.webmanifest"}]]
:triangulum.views/gtag-id "G-" ; REVIEW
:triangulum.views/static-css-files ["/css/comimo_global.css"] ; in resources/public/
:triangulum.views/static-js-files ["/js/jquery-3.4.1.min.js"
"https://www.gstatic.com/charts/loader.js"
"/js/tabulator-4.5.3.min.js"]
:triangulum.views/get-user-lang comimo.db.users/get-user-lang
:triangulum.views/js-init "/src/js/home.jsx" ; FIXME: need to implement equivalent to SARFDAS' /src/js/main.jsx
:triangulum.views/client-keys {:mapboxToken ""}
;; workers (server)
:triangulum.worker/workers [{:triangulum.worker/name "alerts"
:triangulum.worker/start comimo.jobs/start-scheduling-service!
:triangulum.worker/stop comimo.jobs/stop-scheduling-service!}]
;; comimo (my-keys)
:comimo.py-interop/ee-account "" ; REVIEW
:comimo.py-interop/ee-key-path "gee-auth-key.json" ; REVIEW
:comimo.proxy/nicfi-key ""} ; REVIEW