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
After entering the docker, you can use the following command to prepare the Eliza environment:
68
+
69
+
```bash
70
+
# Generate the private key for signing the SGX enclave
71
+
gramine-sgx-gen-private-key
72
+
73
+
cd /root/eliza/
74
+
75
+
# Install nodejs and pnpm
76
+
# Node.js will be installed at `/usr/bin/node`.
77
+
# Gramine will utilize this path as the default Node.js location to run Eliza.
78
+
# If you prefer to use nvm for installing Node.js, please ensure to specify the Node.js path in the Makefile, as the installation path for nvm is not `/usr/bin/node`.
# The build may fail on the first attempt due to the missing `plugin-tee` dependency in `plugin-tee-log`. Simply run the build command again to resolve the issue.
89
+
# TODO: fix the build issue
90
+
pnpm build
91
+
92
+
# Copy the .env.example file to .env
93
+
cp .env.example .env
94
+
# Edit the .env file
95
+
96
+
# Start Eliza in SGX
97
+
SGX=1 make start -- --character "character/c3po.character.json"
0 commit comments