Skip to content

Set up prod/staging process #32

@eli8527

Description

@eli8527

Our goal is to set up an easy staging and production environment for us to quickly test and deploy changes. This would involve setting up a new Digital Ocean instance for us to work within and eventually migrate the production site over to #33.

Our ideal git flow would be to merge from a dev branch into staging into main.

  • Create staging branch
  • Create new DO instance and set up vhosts for staging.riversinstitute.org and riversinstitute.org / production.riversinstitute.org
  • Point DNS records for staging.riversinstitute.org and production.riversinstitute.org to this
  • Set up GH action for both staging and main that copies the contents of that branch via rsync or SFTP over to the correct folder in the DO vhost.
  • Copy the contents of the content folder from current prod into each of the new vhosts. (and modify a script to run from command line to do so)

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions