Public archive for the Return to Ritherdon project. https://www.nicolaellisandritherdon.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Craig Oates 9650008ce9 snapshot 19.11.2022.0 1 year ago
..
bin snapshot 19.11.2022.0 1 year ago
roswell snapshot 19.11.2022.0 1 year ago
scripts snapshot 19.11.2022.0 1 year ago
src snapshot 19.11.2022.0 1 year ago
tests snapshot 19.11.2022.0 1 year ago
Makefile snapshot 19.11.2022.0 1 year ago
README.md snapshot 19.11.2022.0 1 year ago
README.org snapshot 19.11.2022.0 1 year ago
config-example.lisp snapshot 19.11.2022.0 1 year ago
ritherdon-archive-tests.asd snapshot 19.11.2022.0 1 year ago
ritherdon-archive.asd snapshot 19.11.2022.0 1 year ago
run-tests.lisp snapshot 19.11.2022.0 1 year ago
run.lisp snapshot 19.11.2022.0 1 year ago

README.md

ritherdon-archive

Archive of Ritherdon and Nicola Ellis.

Usage

Run from sources:

make run
# aka sbcl --load run.lisp

choose your lisp:

LISP=ccl make run

or build and run the binary:

$ make build
$ ./ritherdon-archive [name]
Hello [name] from ritherdon-archive

Init config file

Create a config file:

cp config-example.lisp config.lisp

You can override global variables (for example, the port, which can be handy if you run the app from sources, without building a binary and using the --port flag.

The config file is loaded before the web server starts (see the (main)).

Roswell integration

Roswell is an implementation manager and script launcher.

A POC script is in the roswell/ directory.

Your users can install the script with craig/ritherdon-archive.

Dev

Load the .asd, quickload it then

CL-USER> (ritherdon-archive/web:start-app)

See also:

  • web::load-config &key port load-init-p

Tests

Tests are defined with Fiveam.

Run them from the terminal with make test. You should see a failing test.

$ make test
Running test suite TESTMAIN
 Running test TEST1 f
 Did 1 check.
    Pass: 0 ( 0%)
    Skip: 0 ( 0%)
    Fail: 1 (100%)

 Failure Details:
 --------------------------------
 TEST1 in TESTMAIN []:

3

 evaluated to

3

 which is not

=

 to

2

Makefile:15: recipe for target 'test' failed

$ echo $?
2

On Slime, load the test package and run run!.


Licence: BSD