0

我在 herokru 有一个正在工作的侨民舱。但是我想将我的 pod 名称更改为其他名称,但这似乎很复杂。按照https://wiki.diasporafoundation.org/Installation/Heroku上的指示,我尝试按照以下步骤操作:

## You can set and/or override all these settings through environment variables
## with the following conversion rules:
## - Strip the top level namespace (configuration, production, etc.)
## - Build the path to the setting, for example environment.s3.enable
## - Replace the dots with underscores: environment_s3_enable
## - Convert to upper case: ENVIRONMENT_S3_ENABLE
## - Specify lists/arrays as comma-separated values

但不明白该怎么做。谁能解释一下更改吊舱名称的确切方法

4

1 回答 1

0

让我们再次复制粘贴我的电子邮件回复。

## You can set and/or override all these settings through environment variables
## with the following conversion rules:
## - Strip the top level namespace (configuration, production, etc.)
## - Build the path to the setting, for example environment.s3.enable
## - Replace the dots with underscores: environment_s3_enable
## - Convert to upper case: ENVIRONMENT_S3_ENABLE
## - Specify lists/arrays as comma-separated values
##
## - For example, on Heroku:
##   heroku config:set SERVICES_FACEBOOK_APP_ID=yourappid SERVICES_FACEBOOK_SECRET=yourappsecret

```

让我们复制粘贴示例,说明如何配置您的 pod并替换设置。

## You can set and/or override all these settings through environment variables
## with the following conversion rules:
## - Strip the top level namespace (configuration, production, etc.)
## - Build the path to the setting, for example settings.pod_name
## - Replace the dots with underscores: settings_pod_name
## - Convert to upper case: SETTINGS_POD_NAME
## - Specify lists/arrays as comma-separated values
##
## - For example, on Heroku:
##   heroku config:set SETTINGS_POD_NAME="My cool diaspora"
于 2015-03-06T13:02:12.657 回答