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

Added a recreate recipe for frontend #2042

Merged
merged 7 commits into from May 8, 2023
Merged
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 7 additions & 1 deletion justfile
Expand Up @@ -19,7 +19,7 @@ ENABLE_DC_OVERRIDES := env_var_or_default("OPENVERSE_ENABLE_DC_OVERRIDES", "true
cd catalog && just
cd api && just
cd ingestion_server && just
cd frontend && just
cd && just
Aditya062003 marked this conversation as resolved.
Show resolved Hide resolved
cd automations/python && just
cd automations/js && just
cd documentation && just
Expand Down Expand Up @@ -190,6 +190,12 @@ recreate:
just up "--force-recreate --build"
just init

# Bust pnpm cache and reinstall Node.js dependencies
node-recreate:
find . -name 'node_modules' -type d -prune -exec rm -rf '{}' +
rm -rf $(pnpm store path)
pnpm install

# Show logs of all, or named, Docker services
logs services="" args=(if IS_CI != "" { "" } else { "-f" }):
just dc logs {{ args }} {{ services }}
Expand Down