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

fix design review script #33

Merged
merged 4 commits into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from 2 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
4 changes: 2 additions & 2 deletions query-connector/design-review/README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ A bash script intended to allow designers and members of the team to easily spin
## Initial Setup

In order to use this script a copy must be downloaded onto your computer from GitHub . To do this follow these instructions.

1. Open the Terminal application.
2. Copy and paste `curl https://raw.githubusercontent.com/CDCgov/phdi/main/containers/tefca-viewer/design-review/design-review.sh -O` into the Terminal prompt and press enter. This command uses the wget program to download a copy the `design-review.sh` file from this directory to the root level of your user directory e.g. `Users/johndoe`.
2. Copy and paste `curl https://raw.githubusercontent.com/CDCgov/dibbs-query-connector/main/query-connector/design-review/design-review.sh -O` into the Terminal prompt and press enter. This command uses the wget program to download a copy the `design-review.sh` file from this directory to the root level of your user directory e.g. `Users/johndoe`.
fzhao99 marked this conversation as resolved.
Show resolved Hide resolved
3. Copy and paste `chmod +x design-review.sh` into Terminal and press enter. This command assigns executable permissions to `design-review.sh` allowing it to be run.


## Usage

Follow these steps to run script and spin up a local instance of the TEFCA Viewer.
fzhao99 marked this conversation as resolved.
Show resolved Hide resolved
Expand Down
6 changes: 3 additions & 3 deletions query-connector/design-review/design-review.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ if ! command_exists docker-compose; then
fi

# Clone the repository if it doesn't exist, otherwise pull the latest changes
REPO_URL="https://github.com/CDCgov/phdi.git"
REPO_DIR="phdi"
REPO_URL="https://github.com/CDCgov/dibbs-query-connector.git"
REPO_DIR="dibbs-query-connector"

if [ ! -d "$REPO_DIR" ]; then
git clone $REPO_URL
Expand All @@ -56,7 +56,7 @@ else
git pull
fi

cd ./containers/tefca-viewer
cd ./query-connector

# Checkout the specified branch
git checkout $BRANCH_NAME
Expand Down
Loading