blob: 652a1ef25fe363bd2ec6f0a04d7ff25d718de3da (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
=== voting-site ===
This is the source of the website at vote.benjidial.net.
=== dependencies ===
This code is written in Racket and requires a few packages. On Debian, you can
get all of the dependencies by running the following commands:
sudo apt install racket
raco pkg install koyo scgi smtp
=== running ===
The server can be run with `racket main.rkt`. This will start a scgi server
on port 9000. You will need an SCGI-compatible web server. For example, with
nginx, you can make a server entry with:
server {
location / {
include scgi_params;
scgi_pass localhost:9000;
}
}
=== attribution ===
The files static/CrimsonPro-*.woff2 are from
https://github.com/Fonthausen/CrimsonPro
and are licensed under the Open Font License, version 1.1.
This license can be found at:
https://github.com/Fonthausen/CrimsonPro/blob/master/OFL.txt
The file static/favicon.ico is from
https://www.flaticon.com/free-icons/vote
and is licensed under the Flaticon license.
This license can be found at:
https://www.freepikcompany.com/legal#nav-flaticon
|