diff --git a/README.md b/README.md index 2c90badcd..d8d0b4136 100644 --- a/README.md +++ b/README.md @@ -288,6 +288,22 @@ python initdb.py ``` +### Running tests for migrations + +Use AWS/RDS to create a test image. +To create a new database from a snapshot to test against see +[this](http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_RestoreFromSnapshot.html). + +Then point the migrations to the new instance using +quay-config/local/config.yaml + +Remember to run this from the root of the quay directory and to set your +python environment first. + +``` +PYTHONPATH=. alembic upgrade head +``` + ### How to run a build with tests for a push or merge ``` # Inside the quay directory.