Skip to content

Files

This branch is up to date with jorgecasar/flow:master.

website

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jul 9, 2018
Aug 20, 2018
Aug 7, 2018
Oct 25, 2017
Apr 26, 2018
Oct 30, 2018
Jul 27, 2017
Nov 8, 2018
May 22, 2017
Mar 20, 2017
Mar 22, 2017
Jan 19, 2018
Feb 22, 2016
Feb 22, 2016
Apr 20, 2018
Apr 20, 2018
Oct 3, 2017
Mar 22, 2017
Apr 14, 2017
Apr 11, 2017
Mar 20, 2017
Mar 20, 2017
Mar 20, 2017
Mar 20, 2017
Oct 3, 2017
Mar 29, 2017
Oct 25, 2017
Mar 20, 2017

Flow Documentation & Website

We use Jekyll to build the site.

Installation

If you are working on the site, you will want to install and run a local copy of it.

Start by cloning the website recursively to pull in all submodules:

git clone git@github.com:facebook/flow.git

Dependencies

In order to use Jekyll, you will need to have Ruby installed. macOS comes pre-installed with Ruby, but you may need to update RubyGems (via gem update --system). Otherwise, RVM and rbenv are popular ways to install Ruby.

The version of the Pygment syntax highlighter used by Jekyll requires Python 2.7.x (not 3.x). macOS comes pre-installed with Python 2.7, but you may need to install it on other OSs.

Once you have RubyGems and installed Bundler (via gem install bundler), use it to install the dependencies:

$ cd website
$ bundle install

Instructions

Use Jekyll to serve the website locally (by default, at http://localhost:8080):

$ cd website
$ make
$ open http://127.0.0.1:8080/