Configuration

[~/sinatra/sinatra-datamapper-jump-start(master)]$ heroku help config 
Usage: heroku config

 display the config vars for an app

 -s, --shell  # output config vars in shell format

Examples:

 $ heroku config
 A: one
 B: two

 $ heroku config --shell
 A=one
 B=two

Additional commands, type "heroku help COMMAND" for more details:

  config:get KEY                            #  display a config value for an app
  config:set KEY1=VALUE1 [KEY2=VALUE2 ...]  #  set one or more config vars
  config:unset KEY1 [KEY2 ...]              #  unset one or more config vars

[~/sinatra/sinatra-datamapper-jump-start(master)]$ heroku config -s
DATABASE_URL=postgres://bhhatrhjjhwcvt:hjgjfhgjfhjfuWH7ls_PJKK5QD@ec2-54-204-35-132.compute-1.amazonaws.com:5999/d2888888888888
HEROKU_POSTGRESQL_BLACK_URL=postgres://bhjshfdhakwcvt:hQssnhq1y1jhgfhgls_PGNu5QD@ec2-54-204-35-132.compute-1.amazonaws.com:9999/d555555555555j

[~/sinatra/sinatra-datamapper-jump-start(master)]$ heroku config:set C=4
Setting config vars and restarting crguezl-songs... done, v6
C: 4
[~/sinatra/sinatra-datamapper-jump-start(master)]$ heroku config:get C
4
[~/sinatra/sinatra-datamapper-jump-start(master)]$ heroku config:unset C
Unsetting C and restarting crguezl-songs... done, v7
[~/sinatra/sinatra-datamapper-jump-start(master)]$ heroku config:get C

[~/sinatra/sinatra-datamapper-jump-start(master)]$]]



Casiano Rodriguez León 2015-01-07