Install Ruby
Install bundler:
gem install jekyll bundler
From the gh-pages directory, run:
bundle install
npm install
cd examples && npm install
cd ..
npm run deploy:prepare
This runs install
for all of the plugins and all of the examples, then runs the deploy:prepare
script to copy over built files into the gh-pages directory.
From the gh-pages directory, start the jekyll server by running:
bundle exec jekyll serve
Jekyll will watch files and regenerate on changes, except if you change _config.yml, at which point you will need to restart the server.
Browse to http://127.0.0.1:4000
Make sure everything is installed (plugins and examples). From root, run:
npm install
cd examples && npm install
cd ..
Build and push to your personal gh-pages site:
npm run deploy
Test at <your username>.github.io/blockly-samples/
.
npm install
cd examples && npm install
cd ..
Build and push to the blockly-samples gh-pages site
npm run deploy:upstream