The TABLEFLIP website.
Get the dependencies and start the dev server...
npm install
npm startThe 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.
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
(╯°□°)╯︵ ┻━┻
