Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-compose is now docker compose #242

Merged
merged 1 commit into from
Jul 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Before you begin, you must set the active config in an open R session with `Sys.

Once the above steps have been completed, you should be able to [run run_pacta_data_preparation.R](https://github.com/RMI-PACTA/workflow.data.preparation/blob/main/run_pacta_data_preparation.R), either by sourcing it, e.g. `source("run_pacta_data_preparation.R")`, or by running it line-by-line (or select lines of it) interactively.

## Running locally with `docker-compose`
## Running locally with `docker compose`

Running the workflow requires a file `.env` to exist in the root directory, that looks like...

Expand Down Expand Up @@ -66,9 +66,9 @@ R_CONFIG_ACTIVE=YYYYQQ
The [config.yml](config.yml) file contains named configurations which define the settings used during PACTA data preparation.
See top-level yaml names of [config.yml](config.yml) for valid options.

Run `docker-compose up` from the root directory, and docker will build the image (if necessary), and then run the data.prep process given the specified options in the .env file.
Run `docker compose up` from the root directory, and docker will build the image (if necessary), and then run the data.prep process given the specified options in the .env file.

Use `docker-compose build --no-cache` to force a rebuild of the Docker image.
Use `docker compose build --no-cache` to force a rebuild of the Docker image.

## Running Data Preparation interactively on Azure VM

Expand Down Expand Up @@ -223,9 +223,9 @@ Use `docker-compose build --no-cache` to force a rebuild of the Docker image.

tmux

docker-compose build
docker compose build

docker-compose up
docker compose up

```

Expand Down