Ghost-CLI

CLI Tool for installing & updating Ghost

MIT License

Downloads
9K
Stars
446
Committers
41

Bot releases are hidden (Show)

Ghost-CLI - Version 1.0.3

Published by acburdine about 7 years ago

No code changes in this release, just some dependency updates.

NOTE: please upgrade to this version before updating to Ghost 1.3.0. There is a needed bugfix inside knex-migrator that is shipped with this release.

Ghost-CLI - The best way out is always through

Published by acburdine about 7 years ago

Another bugfix release!

This release contains:

  • a fix to ignore folder permissions checking if --no-setup-linux-user is passed
  • better config prompts
  • fixes for --no-prompt usage
  • improvements for sqlite error handling

As always, a full list of changes can be found in the changelog.

Ghost-CLI - Non, je ne regrette rien

Published by acburdine about 7 years ago

We've got a new CLI bugfix release for you!

Summary of changes:

  • more mail clients are now allowed, list now aligns with the list of node-mailer supported clients
  • migration errors are now not hidden
  • ghost run won't output an odd update check error anymore
  • ghost status is now an alias for ghost ls
  • ghost install --no-setup-linux-user works again

As always, a full list of changes can be found in the changelog.

Ghost-CLI - The best thing about the future is it comes one day at a time.

Published by acburdine about 7 years ago

After trying to keep it on the down-low for a few days (it was actually released last Saturday), we are excited to announce the release of Ghost-CLI 1.0 alongside Ghost 1.0 🎉

A full, complete explanation of the Ghost 1.0 release can be found in the release blog post.

There was only one change between 1.0.0-rc.4 and 1.0, which was a fix for command aliases, but as always, all release changes can be found in the changelog.

Thank you to everyone who has tested, raised issues, and contributed to making Ghost-CLI a reality! Stay tuned for more releases in the future with additional bugfixes and improvements 😎

Ghost-CLI - The light at the end of the tunnel

Published by acburdine about 7 years ago

Quick bugfix release pre-1.0. Unless something else comes up, no further changes are expected before the 1.0.0 release.

Summary of changes in this release:

  • fix local process manager (again) - it now works reliably cross-platform
  • add support for configuring nginx when Ghost is run in a subdirectory
  • split out nginx configuration into separate files for ssl and non-ssl
  • improvements for help output.

Full list of changes can be found in the changelog

Ghost-CLI - Hardships make or break people

Published by acburdine over 7 years ago

A new release candidate for Ghost-CLI 🎉

This release comes with several bugfixes, including:

  • ghost install local now works on Windows
  • ghost setup linux-user now works as expected 😅
  • ghost install --db sqlite3 now actually works on linux

View the full list of changes in the changelog.

Ghost-CLI - ....and again

Published by acburdine over 7 years ago

Super quick hotfix release to fix a bug in RC.1

Ghost-CLI - SO MUCH CAFFEINE

Published by acburdine over 7 years ago

We've finally achieved Ghost-CLI's first release candidate 🎊 .

This release contains many bugfixes for problems presented in the last beta, and is also the first release that is production ready. Feel free to install the CLI and use it to set up the new, production-ready release candidate of Ghost! See more information about the release candidate in the blog post.

Full list of changes can be viewed in the changelog, but here's a quick summary of changes:

  • a number of permissions fixes related to the auto-created linux user
  • many, many improvements in wording, messaging, and prompts throughout the CLI. This makes for a much more streamlined, and hopefully less confusing, user experience.
  • various improvements around configuration management

There may be 1 or 2 small fixes before a final 1.0 release, but it should be coming soon - stay tuned!

Ghost-CLI - Oh, the irony

Published by acburdine over 7 years ago

As it turns out, the last release broke permissions everywhere, so we've fixed that 😅 The irony of the last release title does not go unnoticed.

Full log of changes can be found in the changelog, but here's a summary:

  • Linux user permissions setup has been simplified a lot, fixing several setup issues
  • Various improvements around setup ui
  • Rework of the theme update functionality
    • this has the potential to be breaking. If your ghost instance was created with a CLI version prior to this one, the Casper theme will no longer be updated during ghost update. Unfortunately, the only real way to fix this is to create a new Ghost instance. Theme updates for ghost installs created with this version or later, however, will occur

Progress towards a release candidate can be found in the milestone.

Ghost-CLI - I swear we know what we're doing

Published by acburdine over 7 years ago

This week seems to be following the trend of a beta release a day!

Full summary of the changes in this release can be found in the changelog - but here's a shortened version:

  • Added new Mysql extension that will automatically create a mysql user specific to your Ghost database (that way you don't have to use root which has potential security concerns)
  • Added new Linux extension that can automatically create a ghost linux system user. Systemd will take advantage of this and run the Ghost process as this system user, making it a decent amount more secure (as the ghost user doesn't have sudo/password access)
  • The underlying library which generated ssl certificates using LetsEncrypt has been dropped in favor of acme.sh.
    • New installations will not be affected.
    • However, if you have an existing installation that has an SSL renewal cron script in place, you will need to nuke your nginx config and reconfigure it.
      • Quick command to do that (run from inside your ghost install directory):
      rm -f ./system/files/*.conf ./system/files/dhparam.pem && ghost setup nginx ssl ssl-renew
      

We're almost RC-ready - there are only a few things left in the milestone! 🎉

Ghost-CLI - More releases = more fixes (at least that's the idea)

Published by acburdine over 7 years ago

Due to a lot of bugs fixed and issues closed, we needed to release another beta!

Summary of changes in this beta:

  • the --no-prompt flag is properly respected now, so you can run Ghost-CLI programmatically for sure
  • Setup stages have become more configurable, allowing you to run multiple setup stages in order (e.g. ghost setup nginx ssl systemd to run all three steps.
  • Better error handling/logging
  • An error message that will be output if you try to use the CLI with an LTS blog (which is a no-no)
  • a fix for ghost log (it will run correctly now)

As before, you can view progress towards a release candidate in the 1.0-RC milestone.

Ghost-CLI - I feel the need, the need for.....

Published by acburdine over 7 years ago

... more beta releases!

View the changelog for a complete list of changes in this release.

Summary of changes in this release:

  • Addition of ssl-renew command and cron job setup (will renew the SSL certificate every month)
  • addition of a check to make sure a DNS entry exists for a domain being set up before trying to set up ssl
  • addition of enable/disable support for process managers, and support for enabling the Ghost systemd service

As Ghost-CLI approaches 1.0, some more smaller features are being continually added, keep an eye on the 1.0 RC milestone for progress.

Ghost-CLI - Oops, I did it again

Published by acburdine over 7 years ago

This is the second beta release of Ghost-CLI. This release is primarily to fix an issue with not all of the files getting included in the release 😅 ; however, there are a couple of other improvements & bugfixes in this release as well, a full description of which can be found in the changelog.

Quick summary of updates:

  • Actually include built-in extensions folder in the release 😅
  • Fix some issues around extensions (they'll actually work now)
  • Improve the SSL cipher suite in Ghost's automatic SSL configuration
Ghost-CLI - Now we're getting somewhere

Published by acburdine over 7 years ago

After almost 9 months of development and 19 alpha versions, Ghost-CLI is finally ready to enter the beta period! 🎉

There have been a large number of changes since the last alpha, all of which are documented in the changelog.

Here are some of the most notable changes:

  • Commander.js has been replaced by Yargs. Most users won't see any changes from this command, but there should be much better help output by ghost help for all of the options, even ones provided by extensions.
  • Extensions are now supported in the CLI! This has been something a long time in coming, and after a significant refactor it is now possible to build out ways of extending the CLI to use different process managers, services, etc.
  • The CLI is now much more transparent in what it's doing, prompting the user and asking them to confirm generation of conf files, and even giving them the option to edit those conf files in a central location
  • Nginx/SSL automatic configuration is now much more stable, and more improvements to that are coming in the future 😄

There's still a little bit left to do before Ghost-CLI is ready to enter a release candidate (RC) period - you can follow the progress in the CLI 1.0.0-rc milestone.

Ghost-CLI - But it is not this day.

Published by acburdine over 7 years ago

There is coming a day when Ghost-CLI 1.0 beta will be released...but it is not this day 😭.

There were a couple of things that needed to get in so Ghost 1.0-beta could be used to it's maximum potential; however, there are still several slightly significant changes that need to happen in the CLI before it's ready for Beta/RC, which is why one has not been released yet. It's coming soon though!

Changes in this release:

  • local process manager won't die if your .ghostpid file has gone away
  • ghost uninstall won't screw up your instance list
  • Commands that require sudo are shown in gray before they are run (future improvement will be to prompt)
  • Casper is now updated during ghost update
Ghost-CLI - Almost....there....

Published by acburdine over 7 years ago

This will for sure be the last alpha release before Ghost-CLI transitions to beta.

This release is strictly for development and testing only, and must not be used for production blogs.

This alpha release contains:

  • Some improvements that allow you to run ghost commands without any prompts (e.g. in another script)
  • some various bugfixes and cleanup
  • better error handling with yarn subcommands
  • more customizability of ghost install local
  • dependency updates

Ghost-CLI 1.0 project status can be viewed here: https://github.com/TryGhost/Ghost-CLI/projects/1

See the changelog for the full list of changes in this release.

Ghost-CLI - Let's try this again

Published by acburdine over 7 years ago

We're getting close! This should hopefully be one of the last alpha releases before the CLI transitions to beta stage!

This is the seventeenth of a series of alpha builds we'll be releasing as we work towards Ghost 1.0.0.

This release is strictly for development and testing only, and must not be used for production blogs

This alpha release contains:

  • fixes for ghost ls as well as a wording change for ghost run
  • a new ghost uninstall command that can remove the Ghost instance as well as any related system files (such as nginx or systemd)

Ghost-CLI 1.0 project status can be viewed here: https://github.com/TryGhost/Ghost-CLI/projects/1

You can read more about our plans for Ghost v1.0 in the lts blog post. There's also more information on the alpha page.

See the changelog for the full list of changes in this release.

Ghost-CLI - Could have been worse

Published by acburdine over 7 years ago

This is the sixteenth of a series of (somewhat) weekly alpha builds we'll be releasing as we work towards Ghost 1.0.0.

We lied about this being the last alpha release 😞 Still working on getting a few more bugs out of the way before beta testing.

This release is strictly for development and testing only, and must not be used for production blogs

This alpha release contains:

  • ghost ls will now show blogs that are stopped as well
    • also, a subsequent fix for this to fix the broken alpha 15 release 😅
  • a new local auth config option
  • dropping support for node < 4.5

BREAKING CHANGES

Ghost-CLI now no longer supports version of node < 4.5. This is due to a bug in Node 4 < 4.5 that breaks the ssl setup. Please use the latest node 4 lts (at time of this release it is 4.8)

Ghost-CLI 1.0 project status can be viewed here: https://github.com/TryGhost/Ghost-CLI/projects/1

You can read more about our plans for Ghost v1.0 in the lts blog post. There's also more information on the alpha page.

See the changelog for the full list of changes in this release.

Ghost-CLI - 🙈 Nothing to see here

Published by acburdine over 7 years ago

After publishing the release commit & changelog, a bug was found in ghost log that completely broke it. Therefore, this release shouldn't be used and wasn't published to NPM. Use ghost-cli 1.0.0-alpha.16 instead.

Ghost-CLI - THIS IS FINE

Published by acburdine over 7 years ago

This is the fourteenth of a series of (somewhat) weekly alpha builds we'll be releasing as we work towards Ghost 1.0.0.

This is also the last alpha release! 🎉 The next release will be the first beta release for Ghost-CLI 1.0

This release is strictly for development and testing only, and must not be used for production blogs

This alpha release contains:

  • dependency updates
  • error handling fixes & improvements
  • ghost log command
  • config validation on startup
  • various fixes and improvements
  • npm i -g ghost-cli will now work 😄

Ghost-CLI 1.0 project status can be viewed here: https://github.com/TryGhost/Ghost-CLI/projects/1

You can read more about our plans for Ghost v1.0 in the lts blog post. There's also more information on the alpha page.

See the changelog for the full list of changes in this release.