datatracker/dev/deploy-to-container
dependabot[bot] 51f96eb952
chore(deps): bump tar in /dev/deploy-to-container in the npm group (#7793)
Bumps the npm group in /dev/deploy-to-container with 1 update: [tar](https://github.com/isaacs/node-tar).


Updates `tar` from 7.4.0 to 7.4.3
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v7.4.0...v7.4.3)

---
updated-dependencies:
- dependency-name: tar
  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-10-15 16:01:15 -04: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 tar in /dev/deploy-to-container in the npm group (#7793) 2024-10-15 16:01:15 -04:00
package.json chore(deps): bump tar in /dev/deploy-to-container in the npm group (#7793) 2024-10-15 16:01:15 -04: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.