Skip to content

Deploy Process for AppPort

Thomas Scherz edited this page Aug 14, 2024 · 18 revisions

Deploy Process for AppPort

  • Merge all feature branches into qa.

  • Deploy to QA server

    • cap qa deploy
  • Complete the Change Management Form.

    • Wipe Content
    • Request Security Scan
    • Request Accessibility Scan
  • Run through the Manual Test Script on QA

  • Update the CHANGELOG.md with changes for this release

  • Merge the qa branch into the main branch

git checkout main git pull git merge qa

  • Push the master branch to GitHub

git push origin main

  • In the main branch, tag a new release in Git and push it to the remote git checkout main ex. git tag -a v1.4.0 -m '10-01-2014' git push --tags

  • Deploy to Production after Change Management Request is APPROVED. bundle exec cap production deploy

  • NOTICE : You have to still run two commands from the server as the apache user in the /opt/webapps/application_portfolio/current folder. RAILS_ENV=production bundle exec rails assets:precompile and RAILS_ENV=production bundle exec rails db:migrate

  • Make any needed changes to the server environment (cron jobs, etc.)

    • Recaptcha Keys
<server.uc.edu>
	/opt/webapps
	bin/bundle exec rails console production
	bin/bundle exec pumactl stop
	bin/bundle exec pumactl -d


<localhost>
	cap qa deploy
        cap production deploy