Skip to content

Commit

Permalink
Launching the bot now using ENTRYPOINT.SH
Browse files Browse the repository at this point in the history
  • Loading branch information
orenlab committed Aug 23, 2024
1 parent 99770e2 commit 880669b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .run/Dockerfile.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<settings>
<option name="imageTag" value="orenlab/pytmbot:latest" />
<option name="buildCliOptions" value="--target self_build" />
<option name="command" value="--log-level DEBUG --mode dev" />
<option name="command" value="--log-level DEBUG --mode dev --salt true" />
<option name="containerName" value="pytmbot" />
<option name="showCommandPreview" value="true" />
<option name="sourceFilePath" value="Dockerfile" />
Expand Down
2 changes: 2 additions & 0 deletions pytmbot/utils/salt.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ def generate_random_auth_salt(length=32):


if __name__ == "__main__":
print("========================================================")
print("Generating random authentication salt...")
print(generate_random_auth_salt())

0 comments on commit 880669b

Please sign in to comment.