AI Instagram Growth Operating System (self-hosted). English documentation for CodeCanyon buyers.
simulation. Live posting requires your own Meta app review. Do not market the product as guaranteed follower growth or unattended spam posting.Linux / macOS: bash scripts/setup-linux.sh
docker compose up -d postgres redis cp apps/api/.env.example apps/api/.env cp apps/web/.env.example apps/web/.env # Edit JWT_SECRET to a long random value before any public deploy npm install cd apps/api && npx prisma migrate deploy && cd ../.. # Local demo accounts (optional): # In apps/api/.env set SEED_DEMO=1 then: npm run db:seed npm run dev
Web: http://localhost:3000 · API: http://localhost:4000/health
apps/api/.env)DATABASE_URL — PostgreSQL connection stringREDIS_URL — Redis URLJWT_SECRET — required; strong unique secret in productionSEED_DEMO — 1 local demo only; 0 for productionWEB_ORIGIN — frontend origin for CORSMETA_APP_ID / META_APP_SECRET / META_REDIRECT_URIPUBLISH_MODE — simulation (default) or liveAPP_NAME — display name (white-label)apps/web/.env)API_INTERNAL_URL — server-side API URL (default http://127.0.0.1:4000)NEXT_PUBLIC_APP_NAME — brand label in UINEXT_PUBLIC_SHOW_DEMO_ACCOUNTS — set 0 on public sitesNEXT_PUBLIC_DEMO_WATERMARK — set 1 on Envato live previewAfter you point DATABASE_URL at your empty Postgres, set SEED_DEMO=1 and run npm run db:seed. These users exist only on your database — the CodeCanyon ZIP never contains the seller's live data.
admin@instapilot.local / Admin123!founder@instapilot.local / Founder123!agency@instapilot.local / Agency123!admin@ is a real Super Admin on your install (Software settings, SMTP, Support inbox). Change passwords before going public, then set SEED_DEMO=0 and NEXT_PUBLIC_SHOW_DEMO_ACCOUNTS=0.
Seller Envato preview keeps SEED_DEMO=0 and may create a sandboxed Demo Super Admin from Software settings (sample data only).
DATABASE_URL and run migrations on a fresh DBMETA_REDIRECT_URIPUBLISH_MODE=simulation until App Review allows live publishConfigure in Super Admin → Software settings (preferred) or env vars listed in apps/api/.env.example. R2 public HTTPS URLs are required for Instagram media publishing.
NODE_ENV=productionJWT_SECRET and TOKEN_ENCRYPTION_KEYSEED_DEMO=0 and NEXT_PUBLIC_SHOW_DEMO_ACCOUNTS=0npm run scripts)npx prisma migrate deploy (preferred over db push)On your public demo host, copy apps/web/.env.demo.example values into apps/web/.env:
NEXT_PUBLIC_DEMO_WATERMARK=1 NEXT_PUBLIC_SHOW_DEMO_ACCOUNTS=0 NEXT_PUBLIC_DEMO_WATERMARK_TEXT=DEMO PREVIEW — Envato item
A fixed bottom watermark appears site-wide so visitors know it is a preview.
Cover and preview assets: see envato/previews/README.md. Start from envato/previews/cover-2340x1560.svg (3:2).
Buyer ZIP: run powershell -File scripts/package-codecanyon.ps1 (Windows) or bash scripts/package-codecanyon.sh (Linux/macOS).
On a running install, open /documentation (also linked as Docs in the marketing header). Envato requires documentation that is publicly reachable (not behind a purchase gate). The same content ships in the download under documentation/.
APP_NAME / NEXT_PUBLIC_APP_NAMEapps/web/publicItem support covers installation of the shipped code, configuration of documented env vars, and bug fixes in the item. Meta App Review decisions, OpenAI billing, and Cloudflare account issues are outside item support.
See Credits for third-party libraries and fonts.