在heroku中更改diaspora pod名称

时间:2015-03-06 03:07:52

标签: ruby-on-rails heroku pod diaspora

我在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

但不明白该怎么做。任何人都可以解释一下更改pod名称的确切方法

1 个答案:

答案 0 :(得分: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
     

```

让我们复制粘贴解释如何配置广告连播并替换设置的示例。

## 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"