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

[Unticketed] Add a command that fully sets up a working API #2687

Merged
merged 1 commit into from
Oct 31, 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
6 changes: 4 additions & 2 deletions api/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,15 @@ init: build init-db init-opensearch init-localstack
clean-volumes: ## Remove project docker volumes - which includes the DB, and OpenSearch state
docker compose down --volumes

volume-recreate: clean-volumes init ## Destroy current volumes, setup new ones - will remove all existing data
volume-recreate: clean-volumes init ## Destroy current volumes, setup new ones - will remove all existing data

stop:
docker compose down

check: format-check lint db-check-migrations test

remake-backend: volume-recreate db-seed-local populate-search-opportunities ## Completely recreate API services, load data into the DB and search index

##################################################
# DB & migrations
##################################################
Expand Down Expand Up @@ -193,7 +195,7 @@ start-opensearch:
# Opensearch
##################################################

init-localstack: start-localstack setup-localstack
init-localstack: start-localstack setup-localstack ## Start localstack (local s3) and setup buckets

start-localstack:
docker compose up --detach localstack
Expand Down
Loading