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

Refactor the initial boot of Ghost, allowing Ghost updates to keep current configuration intact. #695

Closed
wants to merge 1 commit into from

Conversation

codeincontext
Copy link
Contributor

Fixes #376

Extracts all express-server-related code in index.js to core/server.js, leaving index.js purely for booting up Ghost's core components in a sensible order.

Aside from the project's tidiness, this means that we can perform asynchronous configuration loading/checks before requiring any modules that read the config.

…rrent configuration intact.

Extracts all express-server-related code in index.js to core/server.js, leaving index.js purely for booting up Ghost's core components in a sensible order.

Aside from the project's tidiness, this means that we can perform asynchronous configuration loading/checks before requiring any modules that read the config.
@ErisDS
Copy link
Member

ErisDS commented Sep 11, 2013

Planning to merge this onto a branch with @sebgie's last of the config changes :)

ErisDS added a commit that referenced this pull request Sep 12, 2013
@ErisDS
Copy link
Member

ErisDS commented Sep 12, 2013

merged onto the branch stable-db-version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Protect critical files against accidental upgrade overrides
2 participants