ghost-static
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -14,3 +14,3 @@ #!/usr/bin/env node | ||
*/ | ||
const optionsPath = path.join(process.cwd(), 'scrap-ghost.json'); | ||
const optionsPath = path.join(process.cwd(), 'ghost-static.json'); | ||
let mOptions; | ||
@@ -20,3 +20,3 @@ try { | ||
} catch (e) { | ||
throw new Error('Missing file scrap-ghost.json in current directory. See module documentation.') | ||
throw new Error('Missing file ghost-static.json in current directory. See module documentation.') | ||
} | ||
@@ -23,0 +23,0 @@ try { |
{ | ||
"name": "ghost-static", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "A tool to convert you Ghost blog to a static website", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,1 +0,28 @@ | ||
ghost-static | ||
# Ghost-static | ||
Convert your dynamic Ghost blog to a static website | ||
## Installation | ||
`npm install -g ghost-static` | ||
Create a `ghost-static.json` in your Ghost directory: | ||
``` | ||
{ | ||
"ghostURL": "http://localhost:2368", | ||
"tmpFolder": "tmp/", | ||
"staticFolder": "blog/", | ||
"publicURL": "https://scambier.github.io/blog" | ||
} | ||
``` | ||
- ghostURL: the url to the local instance of Ghost. | ||
- tmpFolder: a temporary folder where the Ghost blog will be scraped | ||
- static: the "final" folder where you'll find your static files | ||
- publicURL: the public url that is (or will be) used to acces your static blog | ||
## Usage | ||
Type `ghost-static` once your local Ghost instance is up and running. | ||
## Requirements | ||
NodeJS 4.8+ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5745
28