Skip to content

markstownsend/ghost-builder

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

ghost-builder

Repo for building my ghost driven, github hosted blog.

There are a couple of post-Buster steps to clean up some of the output from that program.

  • Switch in to Ghost directory using node command prompt and start ghost using
npm start

Note: that ghost runs with node 0.10.x. I have multiple versions of node installed so before starting ghost I select the version of node to use for ghost using nvmw in my node command prompt in the ghost directory:

nvmw use 0.10.9
  • Make desired change. Note: if your desired change involves deleting anything then you should perform a
gulp deep-clean

before executing the buster steps. This is because the buster generate does not clean out the destination directory.

  • Open an admin console and switch in to buster directory

  • Execute the following command:

buster generate --domain=http://localhost:2368 --dir=C:\mark\ghost-builder-dir\static\
  • Switch in to ghost-builder-dir and execute the following command:
gulp shallow-clean
gulp build
  • Switch in to markstownsend.github.io folder and execute the following commands:
git commit -m "my commit comment"
git push

Voila a new freely hosted blog post.

.
+-- buster
+-- ghost-0.6.4
|   +-- content\images
|   +-- content\themes\slimpost-master\assets
+-- ghost-builder
|   +-- .git
|   +-- .gitignore
|   +--gulpfile.js
|   +--LICENSE
|   +--README.md
|   +--markstownsend.github.io
    |   +-- .git
    |   +-- .gitignore
    |   +-- CNAME
    |   +-- README.md
    |   +-- gulp generated dynamic content
    +--static
    |   +-- buster generated dynamic content

About

Ghost, Nodejs, Gulp for building a ghost blog.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published