Please visit http://origami.ft.com to view the site
Since this is a GitHub pages site, built CSS and JS bundles must be committed to the repository. We store them in buildcache
to avoid any confusion - these files should not be edited. To regenerate them, use Grunt:
- Clone the repo
- Ensure the prerequisites (
bower
,grunt-cli
) are installed globally by checking they're listed innpm list -g --depth=0
. If they are not listed, install withnpm install -g bower
ornpm install -g grunt-cli
. - Run
npm install
andbower install
- Edit main.scss and main.js as desired
- Run
grunt
(or if you prefer,grunt js
orgrunt css
)
- Install Jekyll
gem install jekyll
- Run
jekyll serve --watch --baseurl=''
and view on http://localhost:4000/