-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·32 lines (27 loc) · 839 Bytes
/
install.sh
File metadata and controls
executable file
·32 lines (27 loc) · 839 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/bash
# CEMS — Local development install
#
# For developers who cloned the repo. Installs in editable mode.
# For non-dev users, use the remote installer instead:
#
# curl -fsSL https://getcems.com/install.sh | bash
#
set -e
echo "CEMS — Development Install"
echo
# Check prerequisites
if ! command -v uv >/dev/null 2>&1; then
echo "Error: uv is required. Install: curl -LsSf https://astral.sh/uv/install.sh | sh"
exit 1
fi
if [ ! -f "pyproject.toml" ]; then
echo "Error: run this from the CEMS repo root."
exit 1
fi
# Install in editable mode
uv tool uninstall cems 2>/dev/null || true
uv tool install -e . --force 2>&1 | grep -v "^Resolved\|^Prepared\|^Installed" || true
echo "Package installed (cems, cems-server, cems-observer)"
# Delegate to cems setup for hooks, skills, credentials
echo
cems setup