Skip to content

knowledgefutures/www.knowledgefutures.org

Repository files navigation

Knowledge Futures website

Auto-deployed from main to: https://www.knowledgefutures.org

To Install

Assumes local node version in .node-version.

npm install

To Run Dev Mode

npm run dev

To Test RSS Builds

netlify build

Requires installing Netlify Dev and running netlify link one time.

Uses the Netlify Fetch Feeds Build Plugin. Feeds and options are set in netlify.toml, cached, and regenerated on each build depending on the TTL setting. To completely reset cache, delete .netlify/cache directory and rebuild.

To Build and Run Production

npm start

Static Files

Static files such as images, robots.txt, manifest.json, etc are stored in the /public folder. The contents of this folder are copied to the /dist folder during the production build. The contents, not the folder itself, are copied, so that robots.txt, etc will be at the top-level of the deployed application.

RSS Builds

RSS is regenerated hourly on the :15 via an IFTTT and a Netlify build hook. To clear the cache and trigger a manual rebuild, visit the Netlify UI, Deploys, and click Trigger Deploy -> Clear cache and deploy site.

Code of Conduct

Contributor Covenant