Skip to content

Markdown editor with Github integration - to edit and update files

License

Notifications You must be signed in to change notification settings

skar-software/markdown-git-cms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Markdown-Git-CMS

Markdown editor with Github integration - to edit and update files

Installation instructions

1) Run the code below to open the application

Pull docker image from Docker Hub

docker pull anonranger/pubdeskmd

Start the docker server at localhost:3000

docker run --name pubdeskmd -d -p 3000:4173 anonranger/pubdeskmd

2) Create a Personal Access Token

A) Click on Profile -> Settings -> Developer Settings -> Personal Access Token (Fine grained token) - for Personal repos

OR

B) Click on Profile -> Settings -> Developer Settings -> Personal Access Token (Classic token) - for Organization repos

A Fine grained Token (for Personal repos)

Security recommendation: When creating a Fine grained token, keep the validity window to a small timeline. Also give access only to specific repos you want to edit.

token-perm1

token-perm2

token-perm3

token-perm4

B Classic Token (for Organization repos)

token-classic-org1

token-classic-org2

Note: In Github profile, public email should have an email. If it does not exist, go to email settings and update.

image

Usage (screenshots to be updated)

1) open localhost:3000 in your browser

image

2) Add Github Token, and select your github repo to view the markdown (.md) files

image

3) Open the Github repo, based on Github Token Permissions, to view and edit the markdown (files).

image

image

4) After you are done editing, click update to push the changes automatically to Github repo

updated repo