Skip to content

Latest commit

 

History

History
40 lines (23 loc) · 2.3 KB

netlify-cms.md

File metadata and controls

40 lines (23 loc) · 2.3 KB

Netlify CMS

Jekflix is ready for Netlify CMS integration, which means you can create/edit posts, authors, categories, theme, etc... without touching a line of code!

However, you can only use this if you're cloning the repo. In the case you're using the gem, you'll need to setup Netlify CMS in your project by yourself.

Deploy with Netlify

Use the Netlify documentation to set up Continuous Deployment.

When setting the Build command, change it to gulp build. If you deployed your site already and forgot to do that, follow the steps below:

  1. Go to the top menu and select Deploys
  2. In Continuous Deployment > Build Settings, click on Edit settings
  3. Change the Build command to gulp build

That's it. Every time you push a new commit, your project will build and deploy.

Integrate with Netlify CMS

Once you have deployed your website with Netlify successfully, follow the Enable Identity and Git Gateway walkthrough to be able to access your website CMS.

Some important things to keep in mind:

  1. Access your CMS locally through localhost:3000/admin or yourdomain.com/admin
  2. The available CMS data is always pulled in from your repo. Which means, even if you are working locally, the CMS won't get local changes till you push them into GitHub.
  3. Every change published through CMS will be automatically deployed to production, so be careful with what you publish.
  4. The CMS allows you to save data as draft though, so it won't go to production till you publish the changes 🙂

See some CMS screenshots:

Netlify CMS post list screenshot

Netlify CMS post edition screenshot

Netlify CMS workflow screenshot

Netlify CMS site settings screenshot

Netlify CMS theme settings screenshot