Setup Guide - aavedula/how-to-notes GitHub Wiki

  • Upgrade to High Sierra
  • Install XCode
  • Run XCode
xcode-select --install
bundle
  • Create careport-guide_development data base

  • Setup .env

cp .env.sample to .env
  • From auth0 add the client id and secret for careport-staging to the .env.
AUTH0_CLIENT_ID=<some value>
AUTH0_CLIENT_SECRET=<some value>
CONNECT_API_PASSWORD=Password
CONNECT_HTTP_BASIC_PASSWORD=Password
CONNECT_URL=http://localhost:3001
  • Create user and test data
    • In rails c
User.create(email: "[email protected]", uid: "auth0|5b27e7dac4e1ce04c2705971" role: :cp_admin)
Population.hospital.find_each { |p| patientDebugService.new(hospital_population: p).generate_fake_alert(:discharge) }
Population.hospital.find_each { |p| PatientDebugService.new(hospital_population: p).generate_fake_alert(:admit) }
⚠️ **GitHub.com Fallback** ⚠️