theQRL / theqrl.org

12 stars 14 forks source link
qrl

QRL Website 2020-2024 🚀

Deployed at https://theqrl.org Netlify Status

Requirements

Built and deployed with HUGO_VERSION = "0.97.3". Requires hugo installed (Homebrew recommended for Mac)

Developing

Spawn a Hugo development server:

hugo server -D -w

Building /public folder for deployment

hugo

Testing for broken links

You'll want to install linkinator

npm install -g linkinator

Then run, from the root directory

linkinator

Updating go modules (for QIPs)

When a QIP is changed, it's good to pull in any changes through a go module update

hugo mod get -u

Caveats

Crash of development server under MacOS?

This may be related to the large number of files processed quickly, and can be fixed with:

sudo launchctl limit maxfiles 65535 200000
ulimit -n 65535
sudo sysctl -w kern.maxfiles=100000
sudo sysctl -w kern.maxfilesperproc=65535