Getting Started

Person writing on a paper tablet while sitting on some green grass

You want to write a blog sweet! Let's get started.

A few things you'll need;

  1. Patience
  2. This post
  3. A GitHub account (you'll be prompted for this, and it's free)
  4. A Netlify account (you'll be prompted for this, and it's free)

Press this button

This will fork this codebase onto your user account on GitHub, and then connect it to Netlify to build your blog.

Deploy to Netlify

Connect GitHub and Netlify

You'll be prompted with this screen. Go ahead and connect these accounts.

Connect your Netlify account to GitHub

Press "Save & Deploy"

This will create a repository on your GitHub account. It will initially be public, but you can change that to be private, that will be at the end here.

Configure your site

Play a game of match

Seriously, after you've saved and deploy, this will take ~ 2-3 minutes. You'll land on this page. Go ahead and click on the Deploy, then the Play game on the top right.

Netlify's site interface

Once you've finished your game, let's continue.

Check your email for an invite from Netlify

You should have gotten an email inviting you to have access to your blog. Mine looked like this;

Email from Netlify inviting me to join my blog

Click the "Accept the invite" link. The site will ask you for a password. Make note of this. Technically you're good to go but let's do two more things.

  1. Update your site name
  2. Make your repo private

Go back to Netlify and update your site's name (optional)

Once on the site, click "Site Settings" then "Change site name". Choose a site name. You can buy a domain and use that too, here's the docs on that. Check that out later if you're interested.

Animated gif clicking Site settings, Change site name, and renaming site

Make your repo private (optional)

To make your repository private, go to https://github.com/yourusername/neat-starter, then click Settings, scroll to the bottom, there is a red highlighted area of options. Click "Change visibility", choose "Make private" it'll ask you to type out your username/repo. Click I understand. Done.

Let's make a post

Go back to your blog at the new site name you gave it. Add `/admin` to url and it will ask you for your email and password. Log in. You'll land on something like this.

NetlifyCMS's interface

There's three sections.

On the left is the Collections. Here we have all the collections of things you can change without any code.