To take the Autoblogger AI Engine live, follow this elite deployment strategy.
The dashboard is optimized for Vercel.
- Push to GitHub: Ensure your project is in a GitHub repository.
- Import to Vercel: Go to vercel.com/new.
- Configure Project:
- Root Directory: Select
frontend. - Framework Preset: Next.js.
- Root Directory: Select
- Environment Variables:
- Add
NEXT_PUBLIC_API_URL. Set this to/api/v1(Vercel routes/apito the backend).
- Add
- Deploy: Hit the deploy button.
While Vercel's experimentalServices can handle the backend, for a billion-dollar scale with Celery and Redis, I recommend Railway.
- Railway Setup: Import the repository to Railway.
- Services: Railway will detect the
backend/Dockerfile. - Environment Variables:
DATABASE_URL: Point to a production PostgreSQL.REDIS_URL: Point to your Redis instance.OPENAI_API_KEY: Your production key.GEMINI_API_KEY: Your production key.ENCRYPTION_KEY: A secure 32-character string.
For a billion-dollar scale, use a managed provider like Supabase or Neon.
- Backend CORS origins updated to your Vercel URL in
backend/app/core/config.py. - API keys stored in Vercel/Railway secrets (not
.env). - SSL enabled on all endpoints.
Your empire is ready for the global stage. 🌍