Exact commands for running AUTHORA in development mode on your workstation.
- Node.js 18+
- Python 3.11+
- Docker (for PostgreSQL and Redis) — or local Postgres/Redis
git clone https://github.com/TorNation01/authora.git
cd authora
./scripts/install.shOr manual:
git clone https://github.com/TorNation01/authora.git
cd authora
cp .env.example .env
npm install
pip install -e apps/api# .env is created by install.sh. Default values work for local Docker:
# DATABASE_URL=postgresql://authora:authora@localhost:5432/authora
# REDIS_URL=redis://localhost:6379/0
# SECRET_KEY=dev-secret-change-in-productionEdit .env if using non-Docker Postgres/Redis.
docker compose up -d postgres redisWait for PostgreSQL:
until docker compose exec -T postgres pg_isready -U authora; do sleep 2; donenpm run db:migrateOr with Docker:
./scripts/db-migrate.sh --dockernpm run db:seedCreates admin user admin@authora.local / admin123, plus 35 project templates and 16 writing frameworks.
Terminal 1 – API:
npm run dev:apiTerminal 2 – Web:
npm run devdocker compose up -d --buildThen run migrations (first time only):
./scripts/db-migrate.sh --docker
./scripts/db-seed.sh --dockerAccess: http://localhost:3000 (web), http://localhost:8000 (API)
npm run setupInteractive prompts for DATABASE_URL, REDIS_URL, SECRET_KEY, AI keys. Writes .env.
./scripts/healthcheck.sh http://localhost:8000Or:
curl -sf http://localhost:8000/health
curl -sf http://localhost:8000/health/readynpm run test:api
npm run test:e2e