Juan Reynoso Elias
En 2022-07-15 16:24:23

Bootstrap 5 + UCW Examples + mod_lisp


https://blog.getbootstrap.com/

Bootstrap 5 has officially landed! After three alphas, three betas, and several months of hard work, we’re shipping the first stable release of our new major version. It’s been a wild ride made possible by our maintainers and the amazing community that uses and contributes to Bootstrap. Thanks to all who have helped us get here!


You can download the code:

https://github.com/juan-reynoso/ucw-hello-world


You can load the project:

CL-USER> (ql:quickload "ucw-hello-world")

CL-USER> (in-package :ucw-hello-world)

UCW-HELLO-WORLD> (start-app)


Access the pages:

Bootstrap 4

http://localhost:8080/examples/pricing

http://localhost:8080/components/toasts


Bootstrap 5

http://localhost:8080/bootstrap5/form/floating-labels


UCW Backends


UCW can be made to work with any backend, including mod_lisp, lisp HTTP servers , or its own internal HTTPD. We'll be using the internal HTTPD.


Backend mod_lisp

In order to install mode_lisp you need to run:

aptitude install libapache2-mod-lisp 


Enable module

a2enmod lisp


Configuring Apache with mod_lisp


add the following lines in /etc/apache2.conf  file:


LispServer 127.0.0.1 8080 "ucw"

SetHandler lisp-handler




Restart apache server

/etc/init.d/apache2 restart


Start the UCW app

CL-USER> (ql:quickload "ucw-hello-world")
CL-USER> (in-package :ucw-hello-world)

UCW-HELLO-WORLD> (start-app :backend :mod-lisp)



Refences:

https://github.com/mbattyani/mod_lisp

https://common-lisp.net/~alendvai/darcs/ucw/docs/ucw-intro/ucw-intro.html

https://github.com/juan-reynoso/ucw-core/blob/master/doc/getting-started.txt


#mod-lisp #apache #lisp #ucw #programming

También te podría interesar