git clone git@github.com:artsy/artsy.github.io.git
cd artsy.github.io
bundle
bundle exec rake bootstrap
bundle exec rake build
Common Issues
Some combination of the following might help:
- Make sure you have a ruby version that works (e.g. 2.7.5)
- Installing
v8via homebrew:brew install v8 - Installing the
libv8gem using a specific version and v8 flag:gem install libv8 -v '3.16.14.19' -- --with-system-v8 - Assigning configuration options, as in this comment.
Running rake serve will not generate category pages. They take a long time to generate.
bundle exec rake serve
Categories are generated when the ENV var PRODUCTION = "YES".
- Circle automatically deploys to GitHub Pages when new commits are pushed to the
sourcebranch. - If you need to trigger a deploy locally, the
rake deploycommand is available. - See the
Rakefilefor details on how builds/deploys are done. - Note that the
mainbranch does not build on Circle, due to all deploy commits being prefixed with[skip ci].