38 lines
1.1 KiB
Org Mode
38 lines
1.1 KiB
Org Mode
#+TITLE: TFC Connection Website
|
|
#+AUTHOR: Chris Cochrun
|
|
|
|
In an attempt at building a better/faster website than is possible with the current wordpress world, I am working at creating this... This monstronsity...
|
|
|
|
To edit the campmap use this link
|
|
http://umap.openstreetmap.fr/en/map/anonymous-edit/888075:134YBQNTmQ2pkJ76ur0PJ8KPuAc
|
|
|
|
* Website
|
|
The website is built with Zola. This gives us the ability of creating a very fast site with a lot of flexibility if you know what you're doing.
|
|
|
|
* Server
|
|
The website has a few parts that need processing like forms, these are plugged into a server component that has a RESTFUL API like system and helps us to process info on the site much faster.
|
|
|
|
The server is written in lisp.
|
|
|
|
** Build
|
|
To build the server run make
|
|
|
|
#+begin_src shell :results silent
|
|
make
|
|
#+end_src
|
|
|
|
This drops the server binary in the =bin= folder with the libraries bundled next to it.
|
|
|
|
** Nix
|
|
Because we use NixOS for our servers, we also have everything setup using Nix Flakes. To enter a development shell
|
|
|
|
#+begin_src nix :results silent
|
|
nix develop
|
|
#+end_src
|
|
|
|
To build it.
|
|
|
|
#+begin_src nix :results silent
|
|
nix build
|
|
#+end_src
|