Just a CLI manager (for a blogging platform)
# Note: this will eventually become npm install -g ghost-cli
npm install -g TryGhost/Ghost-CLI
ghost <command>
Note: you must have Git installed
- Fork this repo
git clone https://github.com/<your-username>/Ghost-CLI path/to/your/workspace
cd path/to/your/workspace
npm install
You can run the cli one of two ways:
- Manually:
- from the ghost-cli directory:
./bin/ghost <command>
- from the ghost-cli directory:
- Using
npm link
:- from the ghost-cli directory:
npm link
- anywhere on your system:
ghost <command>
- from the ghost-cli directory:
- 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 😄)
npm test