File size: 715 Bytes
5ec8557
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# mem0 Self-Hosted - Server Directory Structure
# This directory should contain the mem0 server source code
# Copy from https://github.com/mem0ai/mem0/tree/main/server

# Required files:
# - main.py (FastAPI app)
# - auth.py
# - db.py
# - models.py
# - schemas.py
# - routers/ (api_keys, auth, entities, requests)
# - alembic/ (migrations)
# - alembic.ini
# - init-db.sh (already created at root)

# For now, this is a placeholder. The actual server code should be copied from
# the mem0 repository: https://github.com/mem0ai/mem0/tree/main/server

# To set up:
# 1. git clone https://github.com/mem0ai/mem0.git /tmp/mem0
# 2. cp -r /tmp/mem0/server/* ./server/
# 3. cp /tmp/mem0/server/dashboard ./server/dashboard