forked from rabbibotton/clog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
FAQ
28 lines (17 loc) · 953 Bytes
/
FAQ
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
FAQ
Q) I start my application and I don't see anything? It worked before!
A) Make sure the :static-root key is set correctly on (clog:initialize)
Q) How do I turn my CLOG app in to a native Mac, Windows or Linux app?
A) There are many ways, the simplest is just use Ceramic -
http://ceramic.github.io/ which uses electron. You can of course use any
tool the gives you a browser control. See clog/native-glues/gtk or an example
with GTK in C, but you can use the cl-cffi-gtk to accomplish the same thing.
Q) I want to take an HTML snapshot of a clog created page:
(format t "=> ~A" (outer-html (document-element (html-document body))))
or see CLOG:SAVE-BODY-TO-FILE
Q) I want to know where the :CLOG tutorials, demos and sources.
Use (clog:clog-install-dir)
Q) Can I offer REST APIs
Yes just use https://github.com/joaotavora/snooze and run on a different
port than your CLOG app eg.
(clack:clackup (snooze:make-clack-app) :port 9003)