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

Disable update UI #132

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,14 @@ This repository is a [Node.js](https://nodejs.org) web application that specifie
* Ghost and Casper theme versions are declared in the Node app's [`package.json`](package.json)
* Scales across processor cores in larger dynos via [Node cluster API](https://nodejs.org/dist/latest-v6.x/docs/api/cluster.html)

## Custom configuration

Ghost supports [configuration with environment variables](https://docs.ghost.org/docs/config#section-running-ghost-with-config-env-variables). Setting custom config is simple with Heroku. For example:

```bash
heroku config:set privacy__useUpdateCheck=false

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the new config sets this all the time (if I understand correctly) would it make things clearer to provide a different example here?

```

## Updating source code

Optionally after deployment, to push Ghost upgrades or work with source code, clone this repo (or a fork) and connect it with the Heroku app:
Expand Down
3 changes: 3 additions & 0 deletions bin/create-config
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ function createConfig() {
},
paths: {
contentPath: path.join(appRoot, '/content/')
},
privacy: {
useUpdateCheck: false
}
};

Expand Down