Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 1.41 KB

README.md

File metadata and controls

51 lines (36 loc) · 1.41 KB

Ghost-CLI

ghost-cli npm ghost-cli dependencies

Just a CLI manager (for a blogging platform)

Installing

# Note: this will eventually become npm install -g ghost-cli
npm install -g TryGhost/Ghost-CLI

Usage:

ghost <command>

Developers

Note: you must have Git installed

  1. Fork this repo
  2. git clone https://github.com/<your-username>/Ghost-CLI path/to/your/workspace
  3. cd path/to/your/workspace
  4. npm install

You can run the cli one of two ways:

  • Manually:
    • from the ghost-cli directory: ./bin/ghost <command>
  • Using npm link:
    • from the ghost-cli directory: npm link
    • anywhere on your system: ghost <command>

Testing the update behavior with the demo app

  • Follow the installation instructions above
  • Run ghost install 0.1.1 (without that argument it will install the latest version)
  • Make sure you choose the option to start your app
  • Visit "https://localhost:2368/" in your browser (add "/about/" to that to view the version)
  • Run ghost update within your ghost install directory
  • Reload the "about" page to see the new version number (and visit "/bad/" to see some new features 😄)

Running tests

npm test