repositories
loading repo index
repositories
loading repo index
repository
loading code, commits, and activity
public Clawd ADK gateway launch mirror
stars
latest
clone command
git clone gitlawb://did:key:z6Mkq5mY...iFZ5/my-project-publ...git clone gitlawb://did:key:z6Mkq5mY.../my-project-publ...2fa351d6docs: add automaton and perps launch sources16d ago| #1 | .PHONY: help up down logs shell migrate test test-clean env ui-install ui-start ui-dev ui-build ui-dev-start |
| #2 | |
| #3 | NEXT_PUBLIC_USER_ID=$(USER) |
| #4 | NEXT_PUBLIC_API_URL=http://localhost:8765 |
| #5 | |
| #6 | # Default target |
| #7 | help: |
| #8 | @echo "Available commands:" |
| #9 | @echo " make env - Copy .env.example to .env" |
| #10 | @echo " make up - Start the containers" |
| #11 | @echo " make down - Stop the containers" |
| #12 | @echo " make logs - Show container logs" |
| #13 | @echo " make shell - Open a shell in the api container" |
| #14 | @echo " make migrate - Run database migrations" |
| #15 | @echo " make test - Run tests in a new container" |
| #16 | @echo " make test-clean - Run tests and clean up volumes" |
| #17 | @echo " make ui-install - Install frontend dependencies" |
| #18 | @echo " make ui-start - Start the frontend development server" |
| #19 | @echo " make ui-dev - Install dependencies and start the frontend in dev mode" |
| #20 | @echo " make ui - Install dependencies and start the frontend in production mode" |
| #21 | |
| #22 | env: |
| #23 | cd api && cp .env.example .env |
| #24 | cd ui && cp .env.example .env |
| #25 | |
| #26 | build: |
| #27 | docker compose build |
| #28 | |
| #29 | up: |
| #30 | NEXT_PUBLIC_USER_ID=$(USER) NEXT_PUBLIC_API_URL=$(NEXT_PUBLIC_API_URL) docker compose up |
| #31 | |
| #32 | down: |
| #33 | docker compose down -v |
| #34 | rm -f api/openmemory.db |
| #35 | |
| #36 | logs: |
| #37 | docker compose logs -f |
| #38 | |
| #39 | shell: |
| #40 | docker compose exec api bash |
| #41 | |
| #42 | upgrade: |
| #43 | docker compose exec api alembic upgrade head |
| #44 | |
| #45 | migrate: |
| #46 | docker compose exec api alembic upgrade head |
| #47 | |
| #48 | downgrade: |
| #49 | docker compose exec api alembic downgrade -1 |
| #50 | |
| #51 | ui-dev: |
| #52 | cd ui && NEXT_PUBLIC_USER_ID=$(USER) NEXT_PUBLIC_API_URL=$(NEXT_PUBLIC_API_URL) pnpm install && pnpm dev |
| #53 |