forked from pophealth/popHealth
-
Notifications
You must be signed in to change notification settings - Fork 45
How to Update Existing PopHealth Installation to the Latest Version (Commit)
Adrian edited this page Sep 4, 2019
·
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 OSEHRA popHealth repository
git clone https://github.com/osehra/popHealth.git 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