Get started with Docaflex by setting up your development environment and installing the necessary dependencies.
git clone https://github.com/virtuenet/docaflex.git
cd docaflex
npm install
Create a .env.local
file with your credentials:
# Database
DATABASE_URL=your_postgresql_connection_string
# Lark Configuration
LARK_APP_ID=your_lark_app_id
LARK_APP_SECRET=your_lark_app_secret
# DocaFlex API
DOCAFLEX_API_KEY=your_docaflex_api_key
# AI Features (Optional)
OPENAI_API_KEY=your_openai_api_key
# NextAuth
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=your_nextauth_secret
npx prisma db push
npx prisma generate
npm run dev
Your Docaflex development environment is now ready. Visit http://localhost:3000
to see your application.