Skip to content

Commit

Permalink
v0.0.5 - All console commands are now accessible via ./blogophone.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank Boës committed Aug 13, 2016
1 parent b64a555 commit 81ffa04
Show file tree
Hide file tree
Showing 7 changed files with 278 additions and 190 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@ Almost all stuff you will be doing with Blogophon is done via command line.

### Create a new article

1. Create a new Markdown file in `user/posts` by using [`./new-page.js`](new-page.js) or doing this manually.
1. Create a new Markdown file in `user/posts` by using [`./blogophone.js`](blogophone.js) and selecting "Create new article", or doing this manually.
1. Generate HTML files either automatically or manually (see below).

### Generate HTML files automatically

1. Start Gulp watcher via `gulp watch`.
1. Edit your Markdown file, e.g. via [`./edit.js`](edit.js). Gulp will automatically create all HTML files via the Blogophon Generator.
1. Edit your Markdown file. Gulp will automatically create all HTML files via the Blogophon Generator.

### Generate HTML files manually

1. Edit your Markdown file, e.g. via [`./edit.js`](edit.js).
1. Edit your Markdown file.
1. Run [`./index.js`](index.js) to make the Blogophon Generator generate all HTML files.

`index.js` has some options:
Expand All @@ -55,12 +55,12 @@ If you want to write an article without publishing it, you can append a `~` to y

### Delete articles

If you want to completly delete an article, run [`./delete-page.js`](delete-page.js). This will delete all HTML- and Markdown files as well as any images associated with the selected article.
If you want to completly delete an article, run [`./blogophone.js`](blogophone.js) and select "Delete article". This will delete all HTML- and Markdown files as well as any images associated with the selected article.

Version
-------

Version: 0.0.4 (2016-08-08)
Version: 0.0.5 (2016-08-13)

Legal stuff
-----------
Expand Down
5 changes: 5 additions & 0 deletions blogophon.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env node
'use strict';

var BlogophonConsole = require('./src/blogophon-console')();
BlogophonConsole.init();
39 changes: 0 additions & 39 deletions delete-page.js

This file was deleted.

30 changes: 0 additions & 30 deletions edit.js

This file was deleted.

115 changes: 0 additions & 115 deletions new-page.js

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "blogophon",
"version": "0.0.4",
"version": "0.0.5",
"description": "A small and simple Static Site Generator for blogs.",
"main": "index.js",
"repository": {
Expand Down
Loading

0 comments on commit 81ffa04

Please sign in to comment.