-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathegg-pterodactyl-parkertron.json
31 lines (31 loc) · 1.64 KB
/
egg-pterodactyl-parkertron.json
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
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PANEL",
"meta": {
"update_url": null,
"version": "PTDL_v2"
},
"exported_at": "2024-06-01T19:44:04+00:00",
"name": "parkertron",
"author": "parker@parkervcp.com",
"description": "The stupid chatbot parkertron by Parkervcp.\r\n\r\nhttps://github.com/parkervcp/parkertron",
"features": null,
"docker_images": {
"ghcr.io/parkervcp/yolks:bot_parkertron": "ghcr.io/parkervcp/yolks:bot_parkertron"
},
"file_denylist": [],
"startup": "./parkertron",
"config": {
"files": "{}",
"logs": "{}",
"startup": "{\r\n \"done\": \"Bot is now running\"\r\n}",
"stop": "shutdown"
},
"scripts": {
"installation": {
"container": "golang:1.19-bookworm",
"entrypoint": "bash",
"script": "#!/bin/bash\r\n# parkertron Installation Script\r\n#\r\n# Server Files: /mnt/server\r\nexport GOPATH=$HOME/go\r\nexport PATH=$GOROOT/bin:$GOPATH/bin:$PATH\r\n\r\ncd\r\n\r\napt update\r\n\r\napt install -y tesseract-ocr tesseract-ocr-eng libtesseract-dev\r\n\r\necho \"pulling the parkertron git repo\"\r\n\r\ngit clone https://github.com/parkervcp/parkertron.git\r\n\r\ncd parkertron/\r\n\r\necho \"building parkertron\"\r\n\r\ngo build \r\n\r\necho \"build complete copying parkertron and example configs over\"\r\n\r\ncp parkertron /mnt/server/\r\n\r\nif [ -d /mnt/server/configs ]; then\r\n echo \"Files exist already\"\r\nelse\r\n cp -r /root/parkertron/configs/ /mnt/server/\r\nfi\r\n\r\necho \"Install complete. If you watched this. Congrats.\""
}
},
"variables": []
}