Skip to content

kirrg001/Ghost-CLI

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

CLI Tool for installing & updating Ghost

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%