Using this template

Prerequisites

Setup

  1. Fork the repositoryopen in new window
  2. Add a site and link the repository on Netlify
  3. Deploy

To do the three steps above click this button:

Deploy to Netlify

Continue setup

  1. Enable Identity integrationopen in new window for your site, to enable Authentication for the CMS

    • Go to Netlify Identity integration in your netlify site:
      Path: Your netlify site's path with /integrations/identity/netlify appended
      e.g.: https://app.netlify.com/sites/vuedn/integrations/identity/netlify if your site's name is vuedn
    • and click Enable
  2. Enable Git Gateway in Identity settings

    • Go to Identity settings
      Path: Your netlify site's path with /settings/identity#services appended
    • and click Enable Git Gateway
  3. In the live site, go to /admin path of your site and sign up
    Please note:

    • Due to browser extensions, the sign-up modal or Social Auth may not appear. If this happens, set up on an incognito tab.
    • /admin should be entered manually or linked from another site not your VuePress site. Otherwise, it'll show a 404 page (rightfully so) since the admin page is not served by VuePress rather by Netlify Identity and DecapCMS.
  4. You're set!

  5. Bonus: Update Registration preferences and External providers in Identity settings, Registration section
    Path: Your netlify site's path with /settings/identity#registration appended

Reference