Merge pull request #139 from KeygraphHQ/feat/windows-compat-and-claude-cli
feat: add MSYS path fix, Claude Code CLI, and Windows instructions
This commit is contained in:
@@ -127,6 +127,8 @@ RUN cd mcp-server && npm run build && cd .. && npm run build
|
|||||||
RUN npm prune --production && \
|
RUN npm prune --production && \
|
||||||
cd mcp-server && npm prune --production
|
cd mcp-server && npm prune --production
|
||||||
|
|
||||||
|
RUN npm install -g @anthropic-ai/claude-code
|
||||||
|
|
||||||
# Create directories for session data and ensure proper permissions
|
# Create directories for session data and ensure proper permissions
|
||||||
RUN mkdir -p /app/sessions /app/deliverables /app/repos /app/configs && \
|
RUN mkdir -p /app/sessions /app/deliverables /app/repos /app/configs && \
|
||||||
mkdir -p /tmp/.cache /tmp/.config /tmp/.npm && \
|
mkdir -p /tmp/.cache /tmp/.config /tmp/.npm && \
|
||||||
|
|||||||
@@ -195,6 +195,10 @@ git clone https://github.com/your-org/api.git
|
|||||||
|
|
||||||
### Platform-Specific Instructions
|
### Platform-Specific Instructions
|
||||||
|
|
||||||
|
**For Windows:**
|
||||||
|
|
||||||
|
Install [Git for Windows](https://git-scm.com/install/windows) and run Shannon from **Git Bash** with Docker Desktop installed.
|
||||||
|
|
||||||
**For Linux (Native Docker):**
|
**For Linux (Native Docker):**
|
||||||
|
|
||||||
You may need to run commands with `sudo` depending on your Docker setup. If you encounter permission issues with output files, ensure your user has access to the Docker socket.
|
You may need to run commands with `sudo` depending on your Docker setup. If you encounter permission issues with output files, ensure your user has access to the Docker socket.
|
||||||
|
|||||||
@@ -3,6 +3,11 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
# Prevent MSYS from converting Unix paths (e.g. /repos/my-repo) to Windows paths
|
||||||
|
case "$OSTYPE" in
|
||||||
|
msys*) export MSYS_NO_PATHCONV=1 ;;
|
||||||
|
esac
|
||||||
|
|
||||||
# Detect Podman vs Docker and set compose files accordingly
|
# Detect Podman vs Docker and set compose files accordingly
|
||||||
# Podman doesn't support host-gateway, so we only include the Docker override for actual Docker
|
# Podman doesn't support host-gateway, so we only include the Docker override for actual Docker
|
||||||
COMPOSE_BASE="docker-compose.yml"
|
COMPOSE_BASE="docker-compose.yml"
|
||||||
|
|||||||
Reference in New Issue
Block a user