update readme and configure monorepo for railway deployment

readme rewritten with ascii diagrams, detailed setup, and conversational tone.
root package.json updated with packageManager field for bun, web workspace,
and build/start scripts pointing to web/ for railway railpack compatibility.
This commit is contained in:
Sanju Sivalingam
2026-02-18 09:19:50 +05:30
parent b65004e015
commit a745815400
2 changed files with 344 additions and 125 deletions

View File

@@ -1,12 +1,20 @@
{
"name": "droidclaw",
"workspaces": ["packages/*", "server"],
"private": true,
"packageManager": "bun@1.3.5",
"workspaces": ["packages/*", "server", "web"],
"version": "1.0.0",
"description": "AI agent that takes control of your Android phone — give it a goal, it figures out the taps",
"type": "module",
"scripts": {
"start": "bun run src/kernel.ts",
"build": "bun build src/kernel.ts --outdir dist --target bun",
"start": "bun run --cwd web start",
"build": "bun run --cwd web build",
"start:agent": "bun run src/kernel.ts",
"build:agent": "bun build src/kernel.ts --outdir dist --target bun",
"build:web": "bun run --cwd web build",
"dev:web": "bun run --cwd web dev",
"dev:server": "bun run --cwd server dev",
"db:push": "bun run --cwd web db:push",
"typecheck": "tsc --noEmit"
},
"dependencies": {