Coder Social home page Coder Social logo

utilitarianism.net's Introduction

Utilitarianism.net

Official code for the utilitarianism.net website.

We are using Hugo to build the base website and a few npm packages and scripts to generate PDFs, add search functionality, etc.

Developing

If you're new to coding, see the detailed instructions.

First time:

  • Install Hugo (current version is 0.124.0 extended edition)

Any time after:

hugo serve

Building

First time:

Any time after:

npm run build

The /public folder now contains all the static files. The /dist folder now has the zip of them all: upload to your webhost, unzip, and you are done ๐Ÿคฉ

For more details see instructions/README.md

Languages

This website can be built in different languages, one language at a time. You must manually change config.toml to pick the language and disable all others:

  • defaultContentLanguage = "en"
  • disableLanguages = ["es", "de"]

Adding documents

You can easily import Google Documents via Docs to Markdown. see instructions/README.md for more info.

Notes

See instructions/README.md for more useful information about getting started with or working on this project.

Thank you

A huge thank you to the numerous creators and contributors that make building new things possible, easier, and a pleasure.

Thank you to the libraries without which our website would not be possible or would be less than it is now:

Thank you to supporting libraries that make the process of building better:

  • theme/ananke for helping set up this Hugo project
  • just for handle building scripts
  • fdir for the fastest way to crawl a directory
  • bestzip for zipping the finished files into one
  • serve for previewing the final build

This is not a complete list, there are too many others to list ๐Ÿ™‡โ€โ™‚๏ธ

Footnotes

  1. If you see a Pagefind Error: tar xvf exited with 128 try using Powershell โ†ฉ

utilitarianism.net's People

Contributors

rychappell avatar whyboris avatar yurystarkov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.