Getting Started
This guide will help you set up the TKM AI Agency Platform for development.
Prerequisites
- Python 3.9+
- Node.js 18+
- Git
Initial Setup
-
Clone the Repository
git clone https://github.com/Hovup-FO/tkm_ai_agency_platform.git cd tkm_ai_agency_platform
-
Environment Variables Create a
.env
file in the root directory:# API Keys GROQ_API_KEY="" TAVILY_API_KEY="" MODEL="" TOOLHOUSE_API_KEY="" # Database Configuration SINGLESTORE_HOST="" SINGLESTORE_PORT="" SINGLESTORE_USER="" SINGLESTORE_PASSWORD="" SINGLESTORE_DATABASE="" # Email Service MAILGUN_API_KEY="" MAILGUN_DOMAIN=""
Backend Setup
-
Create and activate virtual environment
python -m venv .venv source .venv/bin/activate # On Unix or MacOS .venv\Scripts\activate # On Windows
-
Install dependencies
cd Backend pip install -r requirements.txt
-
Start Backend Server
uvicorn main:app --reload
Frontend Setup
-
Install dependencies
cd Frontend npm install
-
Start Frontend Development Server
npm run dev
Verify Installation
Once both servers are running, you can access:
- Backend API: http://localhost:8000 (opens in a new tab)
- API Documentation: http://docs.tkm.technology (opens in a new tab)
- Frontend: http://localhost:3000 (opens in a new tab)
Next Steps
- Review the API documentation to understand available endpoints
- Explore the Backend section to learn about the agent architecture
- Check the Frontend section for UI components and features
- Visit the API Reference for detailed endpoint specifications