Add environment usage instructions
Browse files
README.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
This directory stores the packaged SpatialGT runtime environment for users who
|
| 2 |
+
prefer not to rebuild the Python stack manually.
|
| 3 |
+
|
| 4 |
+
Expected archive:
|
| 5 |
+
|
| 6 |
+
```bash
|
| 7 |
+
spatialgt_env.tar.gz
|
| 8 |
+
```
|
| 9 |
+
|
| 10 |
+
To restore it from the repository root:
|
| 11 |
+
|
| 12 |
+
```bash
|
| 13 |
+
mkdir -p environment
|
| 14 |
+
tar -xzf environment/spatialgt_env.tar.gz -C environment
|
| 15 |
+
```
|
| 16 |
+
|
| 17 |
+
After extraction, the UI launcher will automatically find
|
| 18 |
+
`environment/spatialgt/bin/python`:
|
| 19 |
+
|
| 20 |
+
```bash
|
| 21 |
+
bash spatialgt_agent_ui/run.sh
|
| 22 |
+
```
|
| 23 |
+
|
| 24 |
+
You can also point the launcher to any compatible environment:
|
| 25 |
+
|
| 26 |
+
```bash
|
| 27 |
+
bash spatialgt_agent_ui/run.sh --spatialgt /path/to/environment/spatialgt
|
| 28 |
+
```
|