Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ghost uninstall command #187

Closed
acburdine opened this issue Apr 18, 2017 · 0 comments · Fixed by #200
Closed

ghost uninstall command #187

acburdine opened this issue Apr 18, 2017 · 0 comments · Fixed by #200
Assignees
Milestone

Comments

@acburdine
Copy link
Member

With the introduction of services, the nginx and systemd services now add files elsewhere in the system that complicate uninstalling a blog (meaning you can't just rm -rf /your/ghost/blog).

Ghost uninstall will first stop everything, then call each service that needs to cleanup something, then delete everything from the directory it's in.

Also, ghost uninstall will ask if the user is super-duper mega extra sure if they want to remove their blog because there's no going back afterwards.

The only thing that won't be cleaned up after an installation is the database if it's mysql. In theory we could use knex-migrator reset to do it, but I'm not sure that's really necessary? People might want to delete a blog and keep all the data.

@acburdine acburdine added the bug label Apr 18, 2017
@acburdine acburdine added this to the 1.0 Beta Ready milestone Apr 18, 2017
@acburdine acburdine self-assigned this Apr 18, 2017
@acburdine acburdine added enhancement and removed bug labels Apr 18, 2017
acburdine added a commit to acburdine/Ghost-CLI that referenced this issue May 6, 2017
closes TryGhost#187
- adds `ghost uninstall` command that will delete the ghost instance and
any related configuration files
acburdine added a commit to acburdine/Ghost-CLI that referenced this issue May 6, 2017
closes TryGhost#187
- adds `ghost uninstall` command that will delete the ghost instance and
any related configuration files
acburdine added a commit to acburdine/Ghost-CLI that referenced this issue May 6, 2017
closes TryGhost#187
- adds `ghost uninstall` command that will delete the ghost instance and
any related configuration files
acburdine added a commit that referenced this issue May 6, 2017
closes #187
- adds `ghost uninstall` command that will delete the ghost instance and
any related configuration files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant