# Adding users who write articles

**URL:** <https://talk.jekyllrb.com/t/adding-users-who-write-articles/4628>\
**Category:** Uncategorized\
**Created:** [June 21, 2020, 12:04am UTC](https://talk.jekyllrb.com/t/adding-users-who-write-articles/4628 "2020-06-21T00:04:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ivanhorvat](https://avatars.discourse-cdn.com/v4/letter/i/b9bd4f/32.png) [@ivanhorvat](https://talk.jekyllrb.com/u/ivanhorvat)\
**Post date:** [June 21, 2020, 12:04am UTC](https://talk.jekyllrb.com/t/adding-users-who-write-articles/4628/1 "2020-06-21T00:04:15Z")

</div>

Hello, can someone please let me know how to create user accounts who login and write and publish articles ?

---

<div class="post-metadata">

**Author:** ![MichaelCurrin](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/michaelcurrin/32/2340_2.png) [@MichaelCurrin](https://talk.jekyllrb.com/u/MichaelCurrin)\
**Post date:** [June 21, 2020, 8:42am UTC](https://talk.jekyllrb.com/t/adding-users-who-write-articles/4628/2 "2020-06-21T08:42:38Z")

</div>

Jekyll and other static sites do not support this as there is no server or database running to do queries against and store passwords. There is just a Apache/Nginx server in production serving static html files

For local use you can use Jekyll Admin gen as an item in Gemfile and then you get a nice CMS view like Wordpress. But only works locally and is not secure as it needs no sign in

For production environments I’d highly recommend [forestry.io](http://forestry.io) as you can hook your github repo up to it and invite users to edit in the CMS. And it’s free. You can create front matter templates which means you can enforce structure and validation eg a post must have a title and a list of tags and a boolean published flag  
Forestry doesn’t care if you use Github Pages or Netlify or nothing to render your site. It just cares about your CMS layer  
Forestry has a couple of starter sites too 🙂

You can also look at Netlify CMS which is also free and supports user login after you invite them by email  
This works well if you are hosting on Netlify already  
Note you need an admin config file to determine field types to be set. So more overhead to get started  
See Netlify CMS docs for tutorials

Both forestry and Netlify CMS do not work locally so your CMS will be cloud-based.

---

<div class="post-metadata">

**Author:** ![MichaelCurrin](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/michaelcurrin/32/2340_2.png) [@MichaelCurrin](https://talk.jekyllrb.com/u/MichaelCurrin)\
**Post date:** [June 21, 2020, 8:45am UTC](https://talk.jekyllrb.com/t/adding-users-who-write-articles/4628/3 "2020-06-21T08:45:13Z")

</div>

## Resources

Both platforms

> **[Static Site CMS tools](https://michaelcurrin.github.io/coding-blog/2019/10/15/static-site-cms-tools.html)**
>
> Websites, libraries or plugins to create content through a CMS and compile to static HTML pages.

Forestry screenshots

> **[This blog moves to Forestry](https://michaelcurrin.github.io/coding-blog/2020/02/27/this-blog-moves-to-forestry.html)**
>
> What I learnt when moving this project to a CMS

---

<div class="post-metadata">

**Author:** ![felixboet](https://avatars.discourse-cdn.com/v4/letter/f/8c91f0/32.png) [@felixboet](https://talk.jekyllrb.com/u/felixboet)\
**Post date:** [June 25, 2020, 4:23pm UTC](https://talk.jekyllrb.com/t/adding-users-who-write-articles/4628/4 "2020-06-25T16:23:41Z")

</div>

I would highly recommend netlify + netlify cms with open authoring: [https://www.netlifycms.org/docs/open-authoring/](https://www.netlifycms.org/docs/open-authoring/)

---

<div class="post-metadata">

**Author:** ![MichaelCurrin](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/michaelcurrin/32/2340_2.png) [@MichaelCurrin](https://talk.jekyllrb.com/u/MichaelCurrin)\
**Post date:** [July 14, 2020, 7:37pm UTC](https://talk.jekyllrb.com/t/adding-users-who-write-articles/4628/5 "2020-07-14T19:37:56Z")

</div>

You don’t need open authoring (which involves PRs) if you invite an editor by email in Netlify cms. Less friction esp non coders

You can invite users in forestry as well and you can customize data types eg boolean or list in frontmatter without code setup which must be done as a config in Netlify cms approach
