Your development environment should have ruby and the gem package manager setup already.
- Install bundler
gem install bundler
- Install yarn
$ bundle install
$ yarn install
$ bundle exec jekyll serve
Deploy to Github Pages from Travis
- Point Travis to repository
- Configure Travis
- Generate a Personal Access Token from Github
- The only scope needed is repo:public_repo
GITHUB_API=<token> on Travis
- Make sure
Display value in build log toggle is set to
Deploy to Netlify
Wait, what happens when I click that button?
Good question. Here’s what it will do…
- Netlify will clone the git repository of this project into your Github account. This action will require your permission from Github, and of course a Netlify account.
- Netlify will then create a new site for you, and configure it to use your shiny new repo. Right away you’ll be able to deploy changes simply by pushing changes to your repo.
- Enjoy your new website 🎉