datatracker/dev/deploy-to-container
dependabot[bot] 7c025c9f2b
chore(deps): bump nanoid in /dev/deploy-to-container in the npm group (#8098)
Bumps the npm group in /dev/deploy-to-container with 1 update: [nanoid](https://github.com/ai/nanoid).


Updates `nanoid` from 5.0.7 to 5.0.8
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/5.0.7...5.0.8)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-20 12:59:39 -05:00
..
.editorconfig ci: deploy-to-container tool 2022-10-26 00:04:02 -04:00
.gitignore ci: deploy-to-container tool 2022-10-26 00:04:02 -04:00
.npmrc ci: deploy-to-container tool 2022-10-26 00:04:02 -04:00
cli.js ci: fix deploy-to-container script 2024-05-16 16:34:38 -04:00
package-lock.json chore(deps): bump nanoid in /dev/deploy-to-container in the npm group (#8098) 2024-11-20 12:59:39 -05:00
package.json chore(deps): bump nanoid in /dev/deploy-to-container in the npm group (#8098) 2024-11-20 12:59:39 -05:00
README.md ci: deploy to container tool cleanup + docs 2022-10-26 00:10:29 -04:00
refresh.js ci: add disable daily DB refresh flag 2024-01-03 21:24:44 -05:00
settings_local.py feat: email ingestor api test endpoint (#7915) 2024-09-09 10:00:54 -05:00
start.sh chore: remove rfc editor sync from sandbox deploy startup 2023-12-22 08:18:43 -06:00

Datatracker Deploy to Container Tool

This tool takes a release.tar.gz build file and deploys it as a container, along with its own database container.

Requirements

  • Node 16.x or later
  • Docker

Usage

  1. From the dev/deploy-to-container directory, run the command:
npm install
  1. Make sure you have a release.tar.gz tarball in the project root directory.
  2. From the project root directory (back up 2 levels), run the command: (replacing the branch and domain arguments)
node ./dev/deploy-to-container/cli.js --branch main --domain something.com

A container named dt-app-BRANCH and dt-db-BRANCH (where BRANCH is the argument provided above) will be created.