Note: you need Ruby
and bundler
gem to be installed on your workspace to proceed.
bundle install
to install required gems- 'sudo apt-get update && sudo apt-get install yarn'
yarn install
to install required npm packagesgulp modernizr
to create custom build of Modernizrjekyll serve
:- Optional with and/or: --host 0.0.0.0 --incremental --livereload (refer to Jekyll: Basic Usage)
- Proceed to http://localhost:4000/winding-tree/ (by default).
gulp build
:- To optimize images in
/assets/img/
(optimization will last for about 1 minute, be patient) - And babelify, concatenate and uglify scripts in
/assets/js
- To optimize images in
- Then just commit and push into
master
branch, further build will be automatical:- Gem
github-pages
will do its job - And Travis CI will run
jekyll build
withJEKYLL_ENV=production
- Gem
- Proceed to https://windingtree.github.io/winding-tree/ after build had finished (check the build status here).