Closed GertThiel closed 5 years ago
Radiance is not a web server like Woo, Wookie, or Hunchentoot. It in fact will simply defer the server operations to one of those three depending on how it is set up.
The bootstrapper is meant as a way to set up a deployment of Radiance on a target server, not as a development environment. I'm not sure which of those is more appropriate for your goal. For the development environment, you should not need to have to do anything outside of running
(ql-dist:install-dist "http://dist.tymoon.eu/shirakumo.txt")
(ql:quickload :radiance)
to install it, and (ql:quickload :radiance) (radiance:startup)
to run it any time after.
Regarding your specific error, this appears to be a problem with the bootstrapper. I have since fixed it in Shirakumo/radiance-bootstrap@331c21d
Radiance is not a web server like Woo, Wookie, or Hunchentoot. It in fact will simply defer the server operations to one of those three depending on how it is set up.
I know. My code included Woo related configuration already.
Thanks for fixing radiance-bootstrap so quickly! I will try right now.
Another question: Can I automate radiance-bootstrap.lisp
to include it in a Dockerfile?
I don't believe so, unless you provide an automated stdin to answer its prompts, though that does not sound very clean.
It doesn't do very much to begin with. I think, if you operate within docker, using the developmental install should be just fine, and much easier to automate.
It's a developing w/ MacOS X vs. running w/ Linux story. I can't just copy the quicklisp
directory.
My suggestion was to have a script that installs roswell, runs it to install an implementation and quicklisp, then run the implementation to install radiance.
BTW: My bootstrapped Radiance runs now.
Hi Nicolas.
The TechEmpower Framework Benchmark (or TFB for short) guides many people who are looking for a web framework for their next project. Common Lisp was totally absent until now.
Last weekend I finished adding Eitaro Fukamachi's Woo to the TFB (pull requests 4684 and 4690).
Now I'm adding Radiance to the TFB, an endeavor giving me plenty of headaches.
TFB is quite demanding e.g. runs every framework to run in a Docker container.
Until now I tried two approaches: Modern Common Lisp best practices using Roswell and Qlot (see in my repository) and your
radiance-bootstrap.lisp
(see in my repository).After reading some of the provided documentation I got the impression that
radiance-bootstrap.lisp
would be the more idiomatic way to go. So I bootstrapped Radiance and runros run -- --script start.lisp
and got this:Do you have a clue what's went wrong?
Thanks in advance,
Gert