Skip to content

Commit

Permalink
Remove unnecessary make rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Lucey committed Aug 2, 2023
1 parent 88f29b6 commit ec69ea2
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 44 deletions.
42 changes: 0 additions & 42 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,54 +59,12 @@ local_run:
local_docker_run:
docker compose up --build

local_push_journey:
@echo "POST /push_journey:"
@curl \
-X POST \
-H "accept: application/json" \
-H "Content-Type: application/json" \
-d @resources/full.json \
http://127.0.0.1:8000/push_journey
@echo

@echo "Done."

local_pull_journey:
@echo "GET /get_journey:"
@curl \
-X GET \
http://127.0.0.1:8000/get_journey
@echo

@echo "Done."

local_get_geojson:
@echo "GET /get_geojson:"
@curl \
-X GET \
http://127.0.0.1:8000/get_geojson?earliest_time=2021-01&latest_time=2023-12
@echo

@echo "Done."

production_setup:
@echo "Running Make rule production_setup..."

production_run:
@echo "Running Make rule production_run..."
uvicorn via.api.main:app --proxy-headers --host 0.0.0.0 --port 8000 --reload

remote_push_journey:
@echo "POST /push_journey:"
@curl \
-X POST \
-H "accept: application/json" \
-H "Content-Type: application/json" \
-d @resources/full.json \
https://test-via-api.randombits.host/push_journey
@echo

@echo "Done."

reingest_journeys:
echo "TODO"
1 change: 0 additions & 1 deletion resources/basic_packet.json

This file was deleted.

1 change: 0 additions & 1 deletion resources/full.json

This file was deleted.

0 comments on commit ec69ea2

Please sign in to comment.