init project, djula error on quickload
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
Following the tutorial [[https://web-apps-in-lisp.github.io/][here]] by vindarel.
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
(defpackage :web-apps
|
||||||
|
(:use :cl))
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
(in-package :web-apps)
|
||||||
|
|
||||||
|
(defun products (&optional (n 5))
|
||||||
|
(loop for i from 0 below n
|
||||||
|
collect (list i
|
||||||
|
(format nil "Product nb ~a" i)
|
||||||
|
9.99)))
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
;;;; Look into https://web-apps-in-lisp.github.io/ by vindarel
|
||||||
|
|
||||||
|
(defsystem "web-apps"
|
||||||
|
:license "WTFPL"
|
||||||
|
:depends-on ("hunchentoot" "easy-routes")
|
||||||
|
:components
|
||||||
|
((:module "src"
|
||||||
|
:components ((:file "package")
|
||||||
|
(:file "web-app")))))
|
||||||
Reference in New Issue
Block a user