An example Jekyll project that can be published to Surge.
- Install Surge and Jekyll:
npm install
# This will automatically run `bundle install` for Jekyll, too
- Clone this repository, another Jekyll project, or just init a new one
- Serve the project locally
jekyll serve
- Build the project locally
jekyll build
- Publish the project to Surge
surge _site
Alternatively, there’s an npm run
script that will do 4. and 5. for you at once:
npm run deploy
Copyright © 2015 Chloi Inc.