Our Personal Data Server from scratch!
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 117 lines 4.0 kB view raw
1default: 2 @just --list 3 4run: 5 cargo run -p tranquil-server 6run-release: 7 cargo run -p tranquil-server --release 8build: 9 cargo build 10build-release: 11 cargo build --release 12check: 13 cargo check 14clippy: 15 cargo clippy -- -D warnings 16fmt: 17 cargo fmt 18fmt-check: 19 cargo fmt -- --check 20lint: fmt-check clippy 21 22test-store: 23 SQLX_OFFLINE=true cargo nextest run -p tranquil-store --features tranquil-store/test-harness 24 25test-store-sim-nightly: 26 SQLX_OFFLINE=true TRANQUIL_SIM_SEEDS=10000 cargo nextest run -p tranquil-store --features tranquil-store/test-harness --profile sim-nightly 27 28test-unit: 29 SQLX_OFFLINE=true cargo test --test dpop_unit --test validation_edge_cases --test scope_edge_cases 30 31test-auth: 32 ./scripts/run-tests.sh --test oauth --test oauth_lifecycle --test oauth_scopes --test oauth_security --test jwt_security --test session_management --test change_password --test password_reset 33 34test-admin: 35 ./scripts/run-tests.sh --test admin_email --test admin_invite --test admin_moderation --test admin_search --test admin_stats 36 37test-sync: 38 ./scripts/run-tests.sh --test sync_repo --test sync_blob --test sync_conformance --test sync_deprecated --test firehose_validation 39 40test-repo: 41 ./scripts/run-tests.sh --test repo_batch --test repo_blob --test record_validation --test lifecycle_record 42 43test-identity: 44 ./scripts/run-tests.sh --test identity --test did_web --test plc_migration --test plc_operations --test plc_validation 45 46test-account: 47 ./scripts/run-tests.sh --test lifecycle_session --test delete_account --test invite --test email_update --test account_notifications 48 49test-security: 50 ./scripts/run-tests.sh --test security_fixes --test banned_words --test rate_limit --test moderation 51 52test-import: 53 ./scripts/run-tests.sh --test import_verification --test import_with_verification 54 55test-misc: 56 ./scripts/run-tests.sh --test actor --test commit_signing --test image_processing --test lifecycle_social --test notifications --test server --test signing_key --test verify_live_commit 57 58test *args: 59 @just test-store 60 @just test-unit 61 ./scripts/run-tests.sh {{args}} 62 63test-embedded *args: 64 @just test-unit 65 SQLX_OFFLINE=true TRANQUIL_TEST_BACKEND=store TRANQUIL_PDS_ALLOW_INSECURE_SECRETS=1 DISABLE_RATE_LIMITING=1 TRANQUIL_LEXICON_OFFLINE=1 SKIP_IMPORT_VERIFICATION=true cargo nextest run -E 'not binary(store_parity)' {{args}} 66 67test-one name: 68 ./scripts/run-tests.sh --test {{name}} 69 70infra-start: 71 ./scripts/test-infra.sh start 72infra-stop: 73 ./scripts/test-infra.sh stop 74infra-status: 75 ./scripts/test-infra.sh status 76 77clean: 78 cargo clean 79doc: 80 cargo doc --open 81db-create: 82 DATABASE_URL="postgres://postgres:postgres@localhost:5432/pds" sqlx database create 83db-migrate: 84 DATABASE_URL="postgres://postgres:postgres@localhost:5432/pds" sqlx migrate run 85db-reset: 86 DATABASE_URL="postgres://postgres:postgres@localhost:5432/pds" sqlx database drop -y 87 DATABASE_URL="postgres://postgres:postgres@localhost:5432/pds" sqlx database create 88 DATABASE_URL="postgres://postgres:postgres@localhost:5432/pds" sqlx migrate run 89podman-up: 90 podman compose up -d 91podman-down: 92 podman compose down 93podman-logs: 94 podman compose logs -f 95container-build: 96 podman build -t tranquil-pds:latest . 97 podman build -t tranquil-pds-frontend:latest ./frontend 98 99frontend-dev: 100 . ~/.deno/env && cd frontend && deno task dev 101frontend-build: 102 . ~/.deno/env && cd frontend && deno task build 103frontend-check: 104 . ~/.deno/env && cd frontend && deno task check 105frontend-clean: 106 rm -rf frontend/dist frontend/node_modules 107 108frontend-test *args: 109 . ~/.deno/env && cd frontend && VITEST=true deno task test:run {{args}} 110frontend-test-watch: 111 . ~/.deno/env && cd frontend && VITEST=true deno task test:watch 112frontend-test-ui: 113 . ~/.deno/env && cd frontend && VITEST=true deno task test:ui 114frontend-test-coverage: 115 . ~/.deno/env && cd frontend && VITEST=true deno task test:run --coverage 116 117build-all: frontend-build build