Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 859 Bytes

deploy-update.md

File metadata and controls

31 lines (22 loc) · 859 Bytes

↤ Developer Overview

Deploy Update

Here are the instructions on how to deploy updates to this website.

IMPORTANT: Before updating the website, you should run any updates to the API first.

Connect to SSH on Digital Ocean

  1. Loging to Digital Ocean
  2. Switch to the Police Scorecard Team
  3. Select the police-scorecard Droplet
  4. Click the Console link to open Digital Oceans Web Console
  5. Run one of the following scripts based on what you want to update

Run Scripts

# To update https://dev.policescorecard.org using `develop` branch
/usr/local/bin/deploy-development

# To update https://staging.policescorecard.org using `staging` branch
/usr/local/bin/deploy-staging

# To update https://policescorecard.org using `master` branch
/usr/local/bin/deploy-production