Skip to content

Commit

Permalink
Merge pull request #1194 from alphagov/add-README-note-about-branch-a…
Browse files Browse the repository at this point in the history
…nd-repo-names

add note about how to deploy into the README
  • Loading branch information
aldavidson authored Dec 21, 2023
2 parents 93ab656 + 857daa3 commit 587db3d
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,25 @@
# Content Store

The Content Store is a MongoDB database of almost all published content on GOV.UK.
The Content Store is a database of almost all published content on GOV.UK.
See the [Content Store API](./docs/content-store-api.md) for basic usage.

## Deployment in current transitional state

For most of 2023, Publishing Platform team have been working on migrating Content Store from MongoDB to PostgreSQL on Amazon's RDS service. This work is nearing completion, but at the moment there is a non-standard setup for deploying any changes.

* The `main` branch is currently _not in use by any deployed application_
* The `content-store` and `draft-content-store` applications in all environments are using a container name of `content-store`, but that must be manually built from the `port-to-postgresql` branch
* There is no automatic build promotion - deployments must be manually done for each environment.

If you need to deploy Content Store, make sure that you:
* base any pull requests off the `port-to-postgresql` branch (see PR #1085)
* merge any pull requests into the `port-to-postgresql` branch
* deploy to each environment by running the [Deploy workflow](https://github.com/alphagov/content-store/actions/workflows/deploy.yml)
* specify `port-to-postgresql` as the "Commit, tag or branch name to deploy"
* specify `content-store` as the "ECR repo name to push image to"



## Technical documentation

This is a Ruby on Rails app, and should follow [our Rails app conventions](https://docs.publishing.service.gov.uk/manual/conventions-for-rails-applications.html).
Expand Down

0 comments on commit 587db3d

Please sign in to comment.