To run the site locally, you'll need Jekyll and the GitHub Pages gem. The GH Pages gem is required to provide your local site with a similar environment to prod. For example, the site.github
param is automatically provided by GitHub in prod.
- Ruby 2.1 or higher;
- Jekyll 3 or higher;
- Bundler (
gem install bundler
).
bundle install
bundle exec jekyll serve
Open http://127.0.0.1:4000/ in your web browser.
Send your contribution via PR. Once it is merged, it will be automatically published to the site.
Authors are key-value stored, so you will need to give yourself a key inside _config.yml - for example:
flovilmart:
name: Florent Vilmart
byline: Core Contributor on Parse
github: flovilmart
twitter: flovilmart
site: http://parseplatform.org/
Everything but name is optional.
To generate a new post, create a new file in the _posts
directory. Be sure to add your name as the author of the post and include several categories to file the post under. Here is a sample header:
layout: post
title: Welcome to the new Parse Blog
date: 2017-07-06 13:08 -0700
comments: true
author: flovilmart
categories: [Announcements, Learn, Events, Customers, Videos]
More info can be found in the official docs.