Convert gitgram/ and aitimemachine/ from embedded git repos (which showed as opaque submodule gitlinks on GitHub) into fully-tracked first-party content. AITM now merges its 7 vendored repos as first-party engines: - memory: beads (Go task DAG) + context7 (docs SDK), unified into saved_contexts - git: vendored C git (bundled binary) + gitnexus (in-process code intelligence) - agentic: a2a (@a2a-js/sdk) + pal (AITM-managed Python subprocess) Includes the full session's product build: Gitgram web/mobile/backend features, AITM website/CLI/MCP, the unified memory layer, engine build tooling (scripts/build-engines.sh, Dockerfile, CI), docs (README, ENGINES.md, ARCHITECTURE.md), and extensive test suites. Build artifacts, node_modules, external/, and gemini-cli are gitignored. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
85 lines
1.6 KiB
Markdown
85 lines
1.6 KiB
Markdown
# Gitgram Scripts
|
|
|
|
Utility scripts for managing the Gitgram monorepo.
|
|
|
|
## Available Scripts
|
|
|
|
### `install-all.sh`
|
|
Installs dependencies for all projects (backend, mobile, web).
|
|
|
|
```bash
|
|
./scripts/install-all.sh
|
|
```
|
|
|
|
### `dev.sh`
|
|
Runs backend and web development servers (main development command).
|
|
|
|
```bash
|
|
./scripts/dev.sh
|
|
```
|
|
|
|
### `dev-all.sh`
|
|
Runs all development servers (backend, web, and mobile).
|
|
|
|
```bash
|
|
./scripts/dev-all.sh
|
|
```
|
|
|
|
### `start.sh`
|
|
Runs production servers (backend and web). Auto-builds if needed.
|
|
|
|
```bash
|
|
./scripts/start.sh
|
|
```
|
|
|
|
### `add-package.sh`
|
|
Adds a package to a specific project or all projects.
|
|
|
|
```bash
|
|
# Add to specific project
|
|
./scripts/add-package.sh backend express
|
|
./scripts/add-package.sh mobile react-native-vector-icons
|
|
./scripts/add-package.sh web next-auth
|
|
|
|
# Add as dev dependency
|
|
./scripts/add-package.sh backend jest --dev
|
|
|
|
# Add to all projects
|
|
./scripts/add-package.sh all axios
|
|
```
|
|
|
|
### `remove-package.sh`
|
|
Removes a package from a specific project or all projects.
|
|
|
|
```bash
|
|
# Remove from specific project
|
|
./scripts/remove-package.sh backend express
|
|
./scripts/remove-package.sh mobile react-native-vector-icons
|
|
|
|
# Remove from all projects
|
|
./scripts/remove-package.sh all axios
|
|
```
|
|
|
|
### `clean-all.sh`
|
|
Removes all build artifacts, node_modules, and cache files.
|
|
|
|
```bash
|
|
./scripts/clean-all.sh
|
|
```
|
|
|
|
## Making Scripts Executable
|
|
|
|
If scripts are not executable, run:
|
|
|
|
```bash
|
|
chmod +x scripts/*.sh
|
|
```
|
|
|
|
## Usage Tips
|
|
|
|
1. Always run scripts from the project root directory
|
|
2. Scripts will automatically navigate to the correct directories
|
|
3. Use `Ctrl+C` to stop running development servers
|
|
4. Check script output for any errors or warnings
|
|
|