On Thu, Nov 4, 2010 at 2:42 PM, peterhil <peter.hi...@gmail.com> wrote:
> Hi!
>
> I only got core-server working on Virtualbox image of Ubuntu Server
> after I:
>
> 1) reinstalled postfix – I can't see why that is needed.
In the root installation it tries to locate postfix and tries to
manage it. For non root installations in which generally people
prefer, there should not be any postfix dependencies. If this is the
case, please let me know.
> 2) installed SBCL 10.0.43 from source. Ubuntu 10.10 package of SBCL
> 10.0.40 didn't seem to work very well.
This is afair, due to ubuntu package having no sb-posix, sb-thread
extensions which makes a web server impossible to operate. Sorry for
inconvenience, but it seems packaging sbcl is out of our scope, if you
think it is please let me know.
> 3) noticed the installation did not finish (passing errors to /dev/
> null isn't very helpful) by pressing ^C. The installation document
> should mention, that on first time SBCL is going to compile the whole
> package and the server info isn't likely the first thing a new user
> sees.
> 4) manually compiled start.lisp and crawled through multiple restarts
> on sbcl
>
Hm I think this is the obvious consequence of writing an installer in
lisp itself. Other methods are valid of course but we've preferred
this one. Any advices would be delightful.
Installer script is runned via the command line:
$SBCL --noinform \
--noprint \
--no-sysinit \
--no-userinit \
--load install.lisp \
--eval "$TARGET" \
--load config.lisp \
--eval "(quit :unix-status 111)"
No error output is redirected to /dev/null, if you can specify where
we've done this i'll be glad to fix it because it's obviously harmful
to hide error messages.
> Core-server seems like a great project, but it seems to need some
> polishing to make it easier to get started for new users like me.
> Also Mac OS X / CCL support and a quicklisp or even an asdf package
> would be great.
>
> I like that core-server comes with command line tool to start and stop
> the server unlike hunchentoot,
> which is quite awkward to manage through emacs with an acceptor when
> developing - or probably I'm doing it wrong... :-)
The method we use is like the following:
cd ~/core-server
bin/core-server start
bin/core-server attach
afterwards inside screen,
sh bin/emacs.sh
M-x core
If you like to run your own VM, you need to set CORESERVER_HOME
environment variable. Afterwards, you can (require :core-server) and
define your own server class just like in the start lisp, and run
(start (make-instance 'your-server-class))
There is nothing that holds users from using core-server as in other servers.
Regards,
Evrim.