무지하게 힘들었습니다. -ㅅ-
아직 개발하는 중이라서 어떻게 하면 좋다 라고 하는 부분이 잘 알려져 있지 않아서 삽질에 삽질을 하다가 겨우 알아냈습니다.

 weblocks 템플릿을 이용해서 만든 어플리케이션의 이름이 temp-cloud 라고 가정하면 temp-cloud 디렉토리 바로 밑에 존재하는 temp-cloud.lisp 파일을 열어서

(defwebapp temp-cloud
    :prefix "/"
    :description "temp-cloud: A new application"
    :init-user-session 'temp-cloud::init-user-session
    :autostart nil ;; have to start the app manually
    :ignore-default-dependencies t
    :public-files-path "/Users/crazia/work/temp-cloud/pub/crazia"
    :dependencies '((:stylesheet "navigation"))
    :debug t
    ) ;; accept the defaults

색칠한 부분처럼 명시해 주면 됩니다. 그리고 나서 temp-cloud/pub/crazia 에 새로 만들어진 스타일시트와 자바스크립트 파일을 집어넣고 :dependencies 로 지정해서 추가해 주면 됩니다.

ps.
 /Users/crazia/work/temp-cloud/pub/crazia 를 만들면 crazia 디렉토리 아래에 scripts (복수) 와 stylesheets (복수) 를 만들어 줘야 합니다.


+ Recent posts