This site and its associated services is hosted on Nearly Free Speech
Here I'll document how I've set things up for posterity
This documentation is accurate as of it's last check on: 2023-01-28
- Fork this repository
- Generate an ssh key
ssh-keygen -t ed25519 -C "<some-email>"
- Create a new site on NFSN
- Create two Github Action secrets
- SSH_KEY: <your public key>
- KNOWN_HOSTS: NearlyFreeSpeech's ssh fingerprints
- Next time you commit to the main branch the github actions will build and deploy your site to NFSN
- Run
make bootstrap-analytics
to setup awstats on NFSN - Setup a scheduled task to run
/home/protected/updateAnalytics.sh
however often you like. - Your analytics will be availiable at https://<your-website>/analytics/
- Ensure you're on a server-type which allows for daemons
- ssh into the site and follow go-jamming's (simple!) steps to build and configure
- Setup a daemon to run go-jamming with these parameters:
- tag: <whatever you want>
- Command Line: <install directory>/go-jamming 4
- Working Directory: <install directory>
- Run Daemon As: me
- Setup a proxy with these parameters:
- Protocol: http
- Base URI: linkback
- Document Root: /
- Target Port: <the port from your config>
- go-jamming is now setup and ready to use.5
- Create a Github Action secret
- WEBMENTIONS_URL: <your url>/webmention//
Footnotes
-
make sure to kill this background process when you're done or your daemon will fail to start ↩
-
port, domain, and token are all values found in go-jamming's config.json ↩
-
your token should remain secret, please don't commit it ↩
-
If you search the NFSN FAQ for docs on daemons it'll recommend you create a run script, but since go-jamming didn't require any arguments for my setup this was unnessesary ↩
-
go-jamming's usage documentation is pretty complete ↩