Skip to content

thriveweb/cosmetic-medical

Repository files navigation

🌶 Cosmetic Medical Academy

Standard - JavaScript Style Guide

Cloning this project

  1. Clone the repo to your local machine

  2. Remove the remote

    git remote rm origin

  3. Create a new empty repo on Github

  4. Add this new repo address to your local repo and push

    git remote add origin ______ && git push -u origin master

  5. Create a new project on Netlify from your new Github Project

  6. Once your Netlify project has been created, change a couple of settings:

    • Enable Identity
    • Change Registration Preferences to Invite Only
    • Enable Git Gateway
  7. Invite users (probably yourself) to enable admin access

    • Open the Identity tab and hit Invite Users
  8. Wait for the deploy to finish (first build takes longer)

Show me the CMS!

The CMS lives at _YOUR_SITE_NAME_.netlify.com/admin.

Developing

  1. Clone your repo to your local machine

  2. Install dependencies

yarn or npm install

  1. Run the development server

yarn start or npm run start

If you are adding or editing content locally in the CMS, a couple of things to note:

  1. Changes will be pushed to the remote repo.

  2. You will be prompted to enter your site's url, this is necessary for Netlify Identity to manage user login. This is stored in localStorage, so you might have to empty your browser cache if you are switching projects but remaining on localhost:3000.

Editing CMS fields

The Netlify CMS configuration is located in public/admin/config.yml. This is where you will configure the pages, fields, posts and settings that are editable by the CMS.

Find out more in the Netlify CMS Docs.

See also

Netlify CMS Docs
Netlify CMS Repo
Hyperstatic – the same starter project minus Netlify CMS
Gatsby + Netlify CMS Starter

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published