Independent FastAPI backend for the MaskanX agentic growth platform. Includes the agent runtime, MCP client integrations (Meta Ads, LinkedIn, HubSpot, Tavily, Exa, xAI, Citedy, image generation), PostgreSQL storage for chats and cron jobs, provider and secret management, and the CLI. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
39 lines
827 B
Markdown
39 lines
827 B
Markdown
# Backend Scripts
|
|
|
|
Run these from the `maskanx-backend` repository root.
|
|
|
|
## Build Python artifacts
|
|
|
|
```bash
|
|
bash scripts/wheel_build.sh
|
|
```
|
|
|
|
This builds only the backend wheel and source distribution into `dist/`.
|
|
The MaskanX frontend is built independently in `maskanx-frontend`.
|
|
|
|
## Build the backend image
|
|
|
|
```bash
|
|
bash scripts/docker_build.sh [IMAGE_TAG] [EXTRA_ARGS...]
|
|
```
|
|
|
|
The default tag is `maskanx-backend:latest`, and the script uses the root
|
|
`Dockerfile`.
|
|
|
|
Example:
|
|
|
|
```bash
|
|
bash scripts/docker_build.sh registry.example.com/maskanx-backend:v1 --no-cache
|
|
```
|
|
|
|
## Browser E2E
|
|
|
|
```bash
|
|
python scripts/host_ai_model_selection_e2e.py \
|
|
--base-url http://127.0.0.1:5173 \
|
|
--out artifacts/host-ai-model-selection-e2e
|
|
```
|
|
|
|
Run the frontend and backend first. The browser targets the separately deployed
|
|
frontend URL.
|