datatracker/dev/deploy-to-container
Robert Sparks cedd58f950
feat: obviate ghostlinkd (#7336)
* wip: identify whats needed to obviate ghostlinkd

* fix: hardlink new charter files to ftp directory

* fix: hardlink new charter files to ftp directory (continued)

* chore: bring settings comment up to date

* chore: add archive and ftp dirs to setup of various environments

* fix: test charter submits write to ftp dir

* chore: remove debug

* fix: test charter approval writes to ftp dir

* fix: link review revisions into ftp dir

* fix: link to all archive and ftp on submission post

* chore: clean comments, move action to github issue

* fix: link idindex files to all archive and ftp

* chore: deflake

* chore: remove TODO comment

* fix: use settings

* chore: rename new setting
2024-04-19 16:18:52 -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: Add SITE_URL to settings_local for sandbox (#7112) 2024-02-28 08:30:51 -06:00
package-lock.json chore(deps): bump nanoid in /dev/deploy-to-container in the npm group (#7299) 2024-04-10 17:05:32 -04:00
package.json chore(deps): bump nanoid in /dev/deploy-to-container in the npm group (#7299) 2024-04-10 17:05:32 -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: obviate ghostlinkd (#7336) 2024-04-19 16:18:52 -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.