This is the source code for the bastiat.org website dedicated to the life and works of Frédéric Bastiat.
- Install sbcl. On Ubuntu and other debian-based distributions, use:
sudo apt-get install sbcl
- Download Quicklisp:
wget https://beta.quicklisp.org/quicklisp.lisp
- Install Quicklisp:
sbcl --load quicklisp.lisp --eval '(quicklisp-quickstart:install)'
- Download and compile Exscribe:
mkdir -p ~/common-lisp/
cd ~/common-lisp/
git clone https://github.com/fare/fare-scripts.git
git clone https://gitlab.common-lisp.net/frideau/exscribe.git
sbcl --eval '(load "~/quicklisp/setup")' --eval '(ql:quickload :exscribe/executable)'
- Make sure that your system can find the
exscribeprogram:
# One option is to create a symlink at a well-known location:
sudo ln -sf ~/common-lisp/exscribe/exscribe /usr/local/bin/
# Alternatively, just extend your `$PATH` variable:
PATH=$PATH:~/common-lisp/exscribe
Once you've properly installed your toolchain, you can build the website with:
make
Repetitive output will follow that lasts a couple of minutes; be patient it's not an error! Then point your browser to the index file and browse:
make && xdg-open file://$PWD/index.html
make && firefox file://$PWD/index.html
make && chromium file://$PWD/index.html
If you add a new file, you need to tell the build system about it with:
make dep
Either:
-
Fork the official repository on github, and send a pull request, or
-
Have me add you to the official repository on github, and maybe also get an account on bespin.org. Then you can
make bespinto rebuild and publish the website.
Please consult a git tutorial for details.
See the TODO.md file. Take an item, break it down until you reach an actionable items, act on it. Or add new items.