diff options
author | Benji Dial <benji@benjidial.net> | 2024-02-07 19:20:56 -0500 |
---|---|---|
committer | Benji Dial <benji@benjidial.net> | 2024-02-07 19:20:56 -0500 |
commit | 026d52a710e4c15e555e88c71d027a300d868a26 (patch) | |
tree | 90bbde8c484a84e3fddd2ae0592f000301b1d521 /readme.txt | |
parent | 7b89b4cd703ee1123f01e3ddba0ae24911baf410 (diff) | |
download | voting-site-026d52a710e4c15e555e88c71d027a300d868a26.tar.gz |
put email config in separate file so it can be .gitignored
Diffstat (limited to 'readme.txt')
-rw-r--r-- | readme.txt | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -6,14 +6,20 @@ This is the source of the website at vote.benjidial.net. 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: +Before the server can be run, it must be configured. Copy email-template.rkt to +email.rkt and then fill out the values. You can optionally change the variables +in config.rkt as well. + +The server can then be run with `racket main.rkt`. This will start a scgi +server on port 9000. You will need an SCGI-compatible web server to reverse +proxy this. For example, with nginx, you can make a server entry with: + server { location / { include scgi_params; |