Spaces:
Paused
Paused
|
Download server/README.md from keithproject/mem0: direct link, hf CLI and curl.
- Browser
- Download file 715 Bytes
-
https://huggingface.co/spaces/keithproject/mem0/resolve/main/server/README.md
- Command line
-
hf download hf://spaces/keithproject/mem0/server/README.md
-
curl -L -o README.md https://huggingface.co/spaces/keithproject/mem0/resolve/main/server/README.md
715 Bytes
| # 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 |