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

More UX Improvements #152

Closed
1 task done
acburdine opened this issue Feb 14, 2017 · 0 comments
Closed
1 task done

More UX Improvements #152

acburdine opened this issue Feb 14, 2017 · 0 comments
Assignees

Comments

@acburdine
Copy link
Member

acburdine commented Feb 14, 2017

This issue tracks some of the necessary UX updates that need to go into Ghost-CLI before 1.0

  • ghost start detection of config file.

Currently, ghost start runs in production, and ghost start -D runs in development, which is the same as all of the other ghost commands. While this makes sense, it can be somewhat confusing when you install ghost via ghost install local, run ghost stop and then run ghost start again. While the config validation (see #26) will make ghost start fail should the file not exist, the ghost start command should be smart enough to detect what config files exist, and default to the existing one (be it production or development). If both a production and a development config exist, ghost start will behave as before.

More coming...

@acburdine acburdine self-assigned this Feb 14, 2017
acburdine added a commit to acburdine/Ghost-CLI that referenced this issue Feb 15, 2017
refs TryGhost#152
- if a development config exists but not a production one, running ghost
start without the `-D` option will still run in development mode
- fixes issues when running `ghost start` in a local install
acburdine added a commit that referenced this issue Feb 15, 2017
refs #152
- if a development config exists but not a production one, running ghost
start without the `-D` option will still run in development mode
- fixes issues when running `ghost start` in a local install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant