Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Merge frontend into monorepo

Dhruv Bhanushali7c92ba5bdff8
diff --cc .github/CODEOWNERS
index 5ebc1cc94,e4c9168fe..bbfacb6c8
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@@ -1,3 -1,2 +1,4 @@@
+api/ @WordPress/openverse-api
+ingestion_server/ @WordPress/openverse-api
+ frontend/ @WordPress/openverse-frontend
* @WordPress/openverse-maintainers
diff --cc justfile
index 11b651c38,d029434f4..baa0047fb
--- a/justfile
+++ b/justfile
@@@ -11,25 -7,7 +11,26 @@@ DC_USER := env_var_or_default("DC_USER"
# Show all available recipes, also recurses inside nested justfiles
@_default:
just --list --unsorted
+ cd api && just
+ cd ingestion_server && just
+ cd frontend && just
+ cd automations/python && just
+ cd automations/js && just
+
+###########
+# Helpers #
+###########
+
+# Sleep for given time showing the given message as long as given condition is met
+@_loop condition message timeout="5m" time="5":
+ timeout --foreground {{ timeout }} bash -c 'while [ {{ condition }} ]; do \
+ echo "{{ message }}" && sleep {{ time }}; \
+ done'; \
+ EXIT_CODE=$?; \
+ if [ $EXIT_CODE -eq 124 ]; then \
+ echo "Timed out"; \
+ exit $EXIT_CODE; \
+ fi
#######
# Dev #
@@@ -37,10 -15,7 +38,11 @@@
# Install all dependencies
@install:
+ just api/install
+ just ingestion_server/install
+ just frontend/install --ignore-workspace
+ just automations/python/install
+ just automations/js/install
# Setup pre-commit as a Git hook
precommit: