Sign inSign up

dendra/dendra-mongo-migrations

By dendra

•Updated almost 4 years ago

Dendra MongoDB migration scripts.

Image
0

402

dendra/dendra-mongo-migrations repository overview

⁠Dendra Mongo Migrations

MongoDB migration scripts to prepare a metadata database.

⁠Instructions

  1. Be sure you have Node version 6.11.x. If you’re using nvm, you may need to nvm use 6.11.0.

  2. Clone this repo.

  3. Install the migration tool via npm install -g migrate-mongo. See migrate-mongo⁠ for more information.

  4. Make this project directory the current directory, i.e. cd dendra-mongo-migrations.

  5. If all goes well, you should be able to run the predefined package scripts.

⁠To build and publish the Docker image

  1. Make this project directory the current directory, i.e. cd dendra-mongo-migrations.

  2. Build the project docker build -t dendra:dendra-mongo-migrations ..

  3. Tag the desired image, e.g. docker tag f0ec409b5194 dendra/dendra-mongo-migrations:latest.

  4. Push it via docker push dendra/dendra-mongo-migrations.

Tag summary

Content type

Image

Digest

sha256:c10431810…

Size

259.7 MB

Last updated

almost 4 years ago

docker pull dendra/dendra-mongo-migrations