1.0.3 • Published 7 years ago

simple-blog-machine v1.0.3

Weekly downloads
3
License
GPL-2.0
Repository
github
Last release
7 years ago

Simple blog machine

Basic blog backend with a full REST API and a simple command line tool.

Installation

npm install -g simple-blog-machine

Usage

Start the service

sbm start --username AdminUsername --password AdminPassword --port 3000

Login

sbm login --username AdminUsername --password AdminPassword --url localhost:3000

Create a post

sbm create post --title "POST TITLE" --content "$(cat /path/to/post/content.md)"

Edit a post

sbm edit post --content "$(cat /path/to/new/post/content.md)"

For more examples, check the test folder