https://github.com/tableflip/tableflip-www
:robot: :arrow_heading_up: The TABLEFLIP website
https://github.com/tableflip/tableflip-www
Last synced: about 1 year ago
JSON representation
:robot: :arrow_heading_up: The TABLEFLIP website
- Host: GitHub
- URL: https://github.com/tableflip/tableflip-www
- Owner: tableflip
- License: mit
- Created: 2014-11-13T10:49:40.000Z (over 11 years ago)
- Default Branch: main
- Last Pushed: 2024-03-03T21:46:26.000Z (over 2 years ago)
- Last Synced: 2025-04-06T05:35:59.970Z (about 1 year ago)
- Language: Pug
- Homepage: https://tableflip.io
- Size: 6.02 MB
- Stars: 1
- Watchers: 3
- Forks: 4
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
tableflip-www
=============
The [TABLEFLIP](https://tableflip.io) website.

## Getting started
Get the dependencies and start the dev server...
```sh
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][1].
The css in `src/main.css` is processed by [`cssnext`][2], 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](https://handbook.protozoa.nz/experiments/p2p_github_pages.html)
* 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
`(╯°□°)╯︵ ┻━┻`
[1]: http://jade-lang.com/reference/filters/
[2]: http://cssnext.io/features/