Skip to content

How to Update Existing PopHealth Installation to the Latest Version (Commit)

peter li edited this page Dec 6, 2022 · 3 revisions

#stop existing running services

sudo systemctl stop pophealth_delayed_worker
service apache2 stop

#Rename the popHealth directory to popHealth-old

cd /home/pophealth

#get the latest commit from WorldVistA popHealth repository

git clone https://github.com/worldvista/popHealth.git -b v6_22 popHealth

cd popHealth

#reinstate the running configuration file to the newly created popHealth source directory

cp /home/pophealth/popHealth-old/config/popHealth.yml /home/pophealth/popHealth/config/

#update the runtime components in accordance to the Gemfile.lock

bundle install
rm -rf vendor/assets/components/*
bower install

#update asset pipeline

rake assets:precompile RAILS_ENV=production RAILS_RELATIVE_URL_ROOT=/home/pophealth/popHealth

#startup pophealth services

sudo systemctl start pophealth_delayed_worker
service apache2 start
Clone this wiki locally