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: docs/setup/operating-systems/linux-docker.md
+53Lines changed: 53 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -132,6 +132,59 @@ Complete the steps there and return back to this guide.
132
132
133
133
This creates a folder called Zeppelin and clones the bot code there.
134
134
135
+
### Needed and Optional Temporary Steps
136
+
137
+
Some of the steps are required, and some optional. Do both of the required steps, and the optional steps according to your need.
138
+
139
+
#### Using an Older Commit (required)
140
+
141
+
The latest commit (that was downloaded using the clone command above) does not currently run without errors. To get around this issue, a known working older commit will be used.
142
+
143
+
`git checkout b28ca17`
144
+
145
+
#### Rootrouter (required)
146
+
147
+
Needed for the bot to start correctly and the dashboard to load.
148
+
149
+
`nano Zeppelin/backend/src/api/start.ts`
150
+
Press Ctrl-W and type `initAuth` and press Enter.
151
+
152
+
In each of the 4 lines:
153
+
```
154
+
initAuth(app);
155
+
initGuildsAPI(app);
156
+
initArchives(app);
157
+
initDocs(app);
158
+
```
159
+
160
+
Change `app` to `rootRouter` so that it looks like this:
161
+
162
+
```
163
+
initAuth(rootRouter);
164
+
initGuildsAPI(rootRouter);
165
+
initArchives(rootRouter);
166
+
initDocs(rootRouter);
167
+
```
168
+
169
+
Press Ctrl-X, Y, and Enter to save and close.
170
+
171
+
#### Embeds in Tags
172
+
173
+
Tags in the current code are text only. In order to use embeds, some code needs to be changed.
174
+
175
+
`nano Zeppelin/backend/src/plugins/Tags/types.ts`
176
+
177
+
Look for `export const zTag = z.union([z.string(), zEmbedInput]);`
0 commit comments