mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 02:30:42 -08:00
28 lines
No EOL
953 B
Text
28 lines
No EOL
953 B
Text
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) |