Skip to content

Commit

Permalink
Fix makefiles to make them compatible with Ubuntu (#2431)
Browse files Browse the repository at this point in the history
* Change source to . in Makefile

* Update the rest of the makefiles to use . instead of source
  • Loading branch information
austin-hall-skylight authored Aug 29, 2024
1 parent 5450f80 commit ace5b12
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion containers/fhir-converter/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ run-docker:
run-python:
@echo "Running FHIR Converter service from Python source on localhost:$(FHIR_CONVERTER_PORT)..."
python3 -m venv .venv && \
source .venv/bin/activate && \
. .venv/bin/activate && \
pip install -r requirements.txt && \
python -m uvicorn app.main:app --host 0.0.0.0 --port $(FHIR_CONVERTER_PORT)

Expand Down
2 changes: 1 addition & 1 deletion containers/ingestion/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ run-docker:
run-python:
@echo "Running Ingestion service from Python source on localhost:$(INGESTION_PORT)..."
python3 -m venv .venv && \
source .venv/bin/activate && \
. .venv/bin/activate && \
pip install -r requirements.txt && \
python -m uvicorn app.main:app --host 0.0.0.0 --port $(INGESTION_PORT)

Expand Down
2 changes: 1 addition & 1 deletion containers/message-parser/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ run-docker:
run-python:
@echo "Running Message Parser service from Python source on localhost:$(MESSAGE_PARSER_PORT)..."
python3 -m venv .venv && \
source .venv/bin/activate && \
. .venv/bin/activate && \
pip install -r requirements.txt && \
python -m uvicorn app.main:app --host 0.0.0.0 --port $(MESSAGE_PARSER_PORT)

Expand Down
2 changes: 1 addition & 1 deletion containers/message-refiner/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ run-docker:
run-python:
@echo "Running Message Refiner service from Python source on localhost:$(MESSAGE_REFINER_PORT)..."
python3 -m venv .venv && \
source .venv/bin/activate && \
. .venv/bin/activate && \
pip install -r requirements.txt && \
python -m uvicorn app.main:app --host 0.0.0.0 --port $(MESSAGE_REFINER_PORT)

Expand Down
2 changes: 1 addition & 1 deletion containers/orchestration/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ run-docker:
run-python:
@echo "Running Orchestration from Python source on localhost:8080..."
python3 -m venv .venv && \
source .venv/bin/activate && \
. .venv/bin/activate && \
pip install -r requirements.txt && \
python -m uvicorn app.main:app --host 0.0.0.0 --port 8080 --reload --env-file local-dev.env

Expand Down
2 changes: 1 addition & 1 deletion containers/record-linkage/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ run-docker:
run-python:
@echo "Running Record Linkage service from Python source on localhost:$(RECORD_LINKAGE_PORT)..."
python3 -m venv .venv && \
source .venv/bin/activate && \
. .venv/bin/activate && \
pip install -r requirements.txt && \
python -m uvicorn app.main:app --host 0.0.0.0 --port $(RECORD_LINKAGE_PORT)

Expand Down
2 changes: 1 addition & 1 deletion containers/trigger-code-reference/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ run-docker:
run-python:
@echo "Running Trigger Code Reference service from Python source on localhost:$(TRIGGER_CODE_REFERENCE_PORT)..."
python3 -m venv .venv && \
source .venv/bin/activate && \
. .venv/bin/activate && \
pip install -r requirements.txt && \
python -m uvicorn app.main:app --host 0.0.0.0 --port $(TRIGGER_CODE_REFERENCE_PORT)

Expand Down
2 changes: 1 addition & 1 deletion containers/validation/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ run-docker:
run-python:
@echo "Running Validation service from Python source on localhost:$(VALIDATION_PORT)..."
python3 -m venv .venv && \
source .venv/bin/activate && \
. .venv/bin/activate && \
pip install -r requirements.txt && \
python -m uvicorn app.main:app --host 0.0.0.0 --port $(VALIDATION_PORT)

Expand Down

0 comments on commit ace5b12

Please sign in to comment.