You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+35-22Lines changed: 35 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,11 +8,11 @@
8
8
9
9
This core SDK exposes the **hooks**, **communication layer**, and **execution model** needed to support decentralized identities, reputation-aware messaging, programmable automations, and orchestration.
10
10
11
-
## 📚 Documentation
11
+
## Documentation
12
12
13
13
The core codebase is thoroughly documented in our **official documentation**, available on our GitHub page [here](https://github.com/Summoner-Network/summoner-docs).
14
14
15
-
## 🛠️ Installation
15
+
## Installation
16
16
17
17
Before running the platform, ensure that both **Python** and **Rust** are installed on your system. The `setup.sh` script will then take care of configuring the environment and compiling necessary components.
18
18
@@ -83,27 +83,9 @@ This script performs the following actions:
83
83
- Installs required **Python packages** listed in `requirements.txt`
84
84
- Generates a default **`.env`** file with configuration placeholders
85
85
- Installs all available **Rust server implementations**, using `Cargo.lock` to ensure consistent builds
86
-
-✨ **[NEW]**Installs the `summoner` folder as a **Python package** in editable mode, enabling clean imports like `from summoner.server import *` without modifying `PYTHONPATH`
86
+
- Installs the `summoner` folder as a **Python package** in editable mode, enabling clean imports like `from summoner.server import *` without modifying `PYTHONPATH`
87
87
88
88
89
-
#### What This Means for Imports
90
-
91
-
With `summoner` installed as an editable pip package, you can write imports like:
92
-
93
-
```python
94
-
from summoner.server import SummonerServer
95
-
```
96
-
97
-
... without modifying your `PYTHONPATH`.
98
-
99
-
Previously, without a proper package installation, you needed boilerplate like:
At this point, your development environment should be fully configured and ready to use. You can now launch a server or run clients to explore and test the code.
126
108
127
109
128
-
## 🤝 Contributions
110
+
## Quick smoke tests
111
+
112
+
Use the ready-made scripts `open_server.sh` and `open_client.sh` in the repo root to verify your install.
113
+
114
+
**POSIX (macOS/Linux)**
115
+
116
+
```bash
117
+
# terminal A
118
+
source venv/bin/activate
119
+
bash open_server.sh
120
+
121
+
# terminal B
122
+
source venv/bin/activate
123
+
bash open_client.sh
124
+
```
125
+
126
+
**Windows**
127
+
Use **Git Bash** (or WSL). Activate the venv then run the scripts with Bash:
128
+
129
+
```bash
130
+
source venv/Scripts/activate
131
+
bash ./open_server.sh # terminal A
132
+
bash ./open_client.sh # terminal B
133
+
```
134
+
135
+
If needed: `chmod +x open_server.sh open_client.sh`.
136
+
137
+
**Expected**
138
+
Server starts and listens and client connects and can send messages through a chat interactive window. If anything fails, re-run `source setup.sh` and try again.
139
+
140
+
141
+
## Contributions
129
142
130
143
This repository is open source for visibility and usage. External developers are welcome to [open issues](../../issues) to report bugs, suggest improvements, or request new features.
0 commit comments