Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.3 KB

README.md

File metadata and controls

36 lines (23 loc) · 1.3 KB

tableflip-www

The TABLEFLIP website.

Screenshot

Getting started

Get the dependencies and start the dev server...

npm install
npm start

The static site is built out to the dist folder by the scripts in the package.json.

The src dir contains the jade templates and markdown fragments for the layout and content. npm run build:html is responsible for that. The jade templates handle the markdown transformation internally via filters.

The css in src/main.css is processed by cssnext, so it'll have vendor prefixes applied automatically where needed, and we can use future css syntax today. npm run build:css generates a production ready version in dist/main.css that has had all the futuristic parts swapped out for better supported alternatives.

Publish to Dat

Originally published thanks to this article

  • Build the site npm build
  • Publish changes to Dat
  • Update the hash in public/.well-known/dat
  • Publish changes to live site
  • Publish changes to Dat

(╯°□°)╯︵ ┻━┻