Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: e594b0c04e
Fetching contributors…

Cannot retrieve contributors at this time

file 12 lines (8 sloc) 0.47 kb
1 2 3 4 5 6 7 8 9 10 11 12
require File.join(File.dirname(__FILE__), 'init')

RAILS_ROOT = "#{HEALTHVAULT_ROOT}/../../.." unless defined?(RAILS_ROOT)

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
Something went wrong with that request. Please try again.