Permalink
Browse files

Copy HV certs to Rails config

  • Loading branch information...
1 parent ff62cee commit e594b0c04e47d834b47fe9fdb4b80adbd7056ee3 @wagenet committed Jun 10, 2009
Showing with 4 additions and 1 deletion.
  1. +3 −0 install.rb
  2. +1 −1 templates/healthvault.yml
View
3 install.rb
@@ -5,5 +5,8 @@
puts "Copying config to config/healthvault.yml"
`cp #{HEALTHVAULT_ROOT}/templates/healthvault.yml #{RAILS_ROOT}/config/healthvault.yml`
+puts "Copying certs to config/healthvault.pem"
+`cp #{HEALTHVAULT_ROOT}/bin/certs/helloWorld.pem #{RAILS_ROOT}/config/healthvault.pem`
+
puts "Generating Models"
HealthVault::CodeGeneration::Generator.get_things
View
2 templates/healthvault.yml
@@ -1,6 +1,6 @@
default:
app_id: 05a059c9-c309-46af-9b86-b06d42510550
- cert_file: <%= HEALTHVAULT_ROOT %>/bin/certs/helloWorld.pem
+ cert_file: <%= RAILS_ROOT %>/config/healthvault.pem
cert_pass:
shell_url: https://account.healthvault-ppe.com
hv_url: https://platform.healthvault-ppe.com/platform/wildcat.ashx

0 comments on commit e594b0c

Please sign in to comment.