Getting Started
Follow these steps to set up Create AI Stack locally.
Prerequisites
- Node.js 18+ installed
- npm, yarn, or pnpm package manager
- Git
Installation
1. Install CLI
bash
npm install -g @awangt/createaistackor
bash
npx @awangt/createaistack2. Create a new project
bash
createaistack3. Install Dependencies
bash
cd <project_name> && npm installConfiguration
Open
.env.local and populate the required API keys (Database, NextAuth, AI Providers). See the Environment Variables section for details.4. Run the development server
bash
npm run devOpen http://localhost:3000 with your browser to see the result.
Database Utils
If you are using MongoDB, you can seed the database with initial data:
bash
npm run mongo-seed