{
 "schema_version": 1,
 "generated": "2026-11-09",
 "id": "matheusbomtempo-jornai--run-local-jornai-demo",
 "repo": "MatheusBomtempo/JornAI",
 "repo_url": "https://github.com/MatheusBomtempo/JornAI",
 "repo_slug": "matheusbomtempo-jornai",
 "title": "Run a local JornAI demo with no external keys",
 "page_title": "How to run a local JornAI demo with no external keys with JornAI",
 "summary": "Start the full draft-review-publish flow on your machine using the mock AI provider.",
 "who": "A developer or newsroom technologist who wants to see how JornAI works before setting up a real newsroom.",
 "problem": "Evaluating a publishing tool is hard when it needs AI keys, a database and Instagram accounts before anything runs.",
 "outcome": "A working local instance where you can sign in, submit a source and walk through generation, framing and approval with a stub AI response.",
 "steps": [
  "Run `git clone https://github.com/MatheusBomtempo/JornAI.git` and then `cd JornAI`.",
  "Run `npm install`.",
  "Run `docker compose up -d` to start the PostgreSQL database that matches .env.example.",
  "Run `cp .env.example .env`, then keep AI_PROVIDER=\"mock\" in .env.",
  "Run `npm run db:migrate`, then `npm run db:seed`, then `npm run dev`.",
  "Open the local address and sign in with admin@jornai.local and admin12345, which the seed creates for development only."
 ],
 "agent_prompt": "Clone https://github.com/MatheusBomtempo/JornAI, install dependencies, start PostgreSQL with docker compose, set AI_PROVIDER=\"mock\" in .env, then run db:migrate, db:seed and dev. Report the local URL and confirm you can sign in as admin@jornai.local.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The seeded admin account is for development only, and the mock provider returns a stub response, so the demo does not show real AI copy quality.",
 "category": "Content",
 "tags": [
  "Content"
 ],
 "lang": "typescript",
 "requirements": [
  "Node.js and npm to run the Next.js app",
  "Docker, or your own PostgreSQL database, matching DATABASE_URL in .env",
  "Optional: an AI provider key, or AI_PROVIDER set to mock to run without one",
  "For real Instagram publishing: IG_USER_ID and IG_ACCESS_TOKEN, plus S3/R2-compatible storage or local storage in dev"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/matheusbomtempo-jornai/run-local-jornai-demo/",
 "md": "https://dedupedai.com/use-cases/matheusbomtempo-jornai/run-local-jornai-demo/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/matheusbomtempo-jornai--run-local-jornai-demo.json",
 "api_version": "v1"
}
