radiance bootstrap
1.0.0A bootstrapper for Radiance installations
Table of Contents
About Radiance-Bootstrap
This is a system that offers a single file to bootstrap Radiance deployed installations from. Using ASDF the system can be concatenated down to a single file that can be loaded in. The file will then handle the installation and configuration of a basic setup.
Using It
Download the file and load it in.
curl -O https://raw.githubusercontent.com/Shirakumo/radiance-bootstrap/master/bin/radiance-bootstrap.lisp
sbcl --script radiance-bootstrap.lisp It'll ask you some questions about the installation interactively. That's it.
Compiling the Bootstrapper
If you want to generate the full bootstrap file yourself, you can do so like this:
(asdf:operate 'asdf:build-op :radiance-bootstrap) Migrating from Radiance 1.0 to 2.0
In Radiance 2.0 the way environment directories are handled has changed, which breaks the previous bootstrapper's start script. In order to migrate, you should be able to just replace the start.lisp file with the current one from this repository.
System Information
Definition Index
-
ORG.SHIRAKUMO.RADIANCE.BOOTSTRAP.IMPL
- RB-IMPL
No documentation provided.-
EXTERNAL CLASS INET-SOCKET
Class representing TCP and UDP over IPv4 sockets. Examples: (make-instance 'sb-bsd-sockets:inet-socket :type :stream :protocol :tcp) (make-instance 'sb-bsd-sockets:inet-socket :type :datagram :protocol :udp)
-
EXTERNAL FUNCTION DELETE-DIRECTORY
- PATHSPEC
- &KEY
- RECURSIVE
Deletes the directory designated by PATHSPEC (a pathname designator). Returns the truename of the directory deleted. If RECURSIVE is false (the default), signals an error unless the directory is empty. If RECURSIVE is true, first deletes all files and subdirectories. If RECURSIVE is true and the directory contains symbolic links, the links are deleted, not the files and directories they point to. Signals an error if PATHSPEC designates a file or a symbolic link instead of a directory, or if the directory could not be deleted for any reason. Both (DELETE-DIRECTORY "/tmp/foo") (DELETE-DIRECTORY "/tmp/foo/") delete the "foo" subdirectory of "/tmp", or signal an error if it does not exist or if is a file or a symbolic link.
-
EXTERNAL FUNCTION FEATUREP
- FEATURE
No documentation provided. -
EXTERNAL FUNCTION GET-HOST-BY-NAME
- HOST-NAME
Returns a HOST-ENT instance for HOST-NAME or signals a NAME-SERVICE-ERROR. Another HOST-ENT instance containing zero, one or more IPv6 addresses may be returned as a second return value. HOST-NAME may also be an IP address in dotted quad notation or some other weird stuff - see getaddrinfo(3) for the details.
-
EXTERNAL GENERIC-FUNCTION HOST-ENT-ADDRESS
- HOST-ENT
Return some valid address for HOST-ENT.
-
EXTERNAL GENERIC-FUNCTION SOCKET-CONNECT
- SOCKET
- &REST
- ADDRESS
Perform the connect(2) call to connect SOCKET to a remote PEER. No useful return value.
-
EXTERNAL GENERIC-FUNCTION SOCKET-MAKE-STREAM
- SOCKET
- &KEY
- INPUT
- OUTPUT
- ELEMENT-TYPE
- EXTERNAL-FORMAT
- BUFFERING
- TIMEOUT
- AUTO-CLOSE
- SERVE-EVENTS
Find or create a STREAM that can be used for IO on SOCKET (which must be connected). Specify whether the stream is for INPUT, OUTPUT, or both (it is an error to specify neither). ELEMENT-TYPE and EXTERNAL-FORMAT are as per OPEN. TIMEOUT specifies a read timeout for the stream.
-
EXTERNAL MACRO FEATURE-CASE
- &BODY
- CASES
No documentation provided.
-
ORG.SHIRAKUMO.RADIANCE.BOOTSTRAP.NET
- RB-NET
No documentation provided.-
EXTERNAL FUNCTION CLOSE-CONNECTION
- CONNECTION
No documentation provided. -
EXTERNAL FUNCTION OPEN-CONNECTION
- HOST
- PORT
- &KEY
- ELEMENT-TYPE
No documentation provided. -
EXTERNAL FUNCTION READ-CONNECTION
- BUFFER
- CONNECTION
- &KEY
- START
- END
No documentation provided. -
EXTERNAL FUNCTION WRITE-CONNECTION
- BUFFER
- CONNECTION
- &KEY
- START
- END
No documentation provided. -
EXTERNAL MACRO WITH-CONNECTION
- CONNECTION
- HOST
- PORT
- &BODY
- BODY
No documentation provided.
-
ORG.SHIRAKUMO.RADIANCE.BOOTSTRAP.URL
- RB-URL
No documentation provided.-
EXTERNAL FUNCTION DESTRUCTURE-URL
- URL
No documentation provided.
-
ORG.SHIRAKUMO.RADIANCE.BOOTSTRAP.HTTP
- RB-HTTP
No documentation provided.-
EXTERNAL FUNCTION DOWNLOAD-FILE
- FILE
- URL
- &KEY
- HEADERS
- METHOD
- MAX-REDIRECTS
- BUFFER-SIZE
- IF-EXISTS
No documentation provided. -
EXTERNAL FUNCTION DOWNLOAD-TEXT
- URL
- &KEY
- HEADERS
- METHOD
- MAX-REDIRECTS
- BUFFER-SIZE
No documentation provided. -
EXTERNAL FUNCTION OPEN-REQUEST
- URL
- &KEY
- HEADERS
- METHOD
No documentation provided. -
EXTERNAL FUNCTION WRITE-REQUEST-BODY
- STREAM
- URL
- &KEY
- HEADERS
- METHOD
- MAX-REDIRECTS
- BUFFER-SIZE
- COPIER
No documentation provided. -
EXTERNAL MACRO WITH-REQUEST
- CODE
- HEADERS
- CONNECTION
- URL
- &REST
- ARGS
- &BODY
- BODY
No documentation provided.
-
ORG.SHIRAKUMO.RADIANCE.BOOTSTRAP
- RB
No documentation provided.