An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

tableflip-www
=============

The [TABLEFLIP](https://tableflip.io) website.

![Screenshot](https://cloud.githubusercontent.com/assets/58871/15574380/e75751de-2344-11e6-978f-4c8b0b0e8095.png)

## 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/