Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new bot modular in docker compose #14

Open
11 of 14 tasks
mortifia opened this issue Dec 13, 2022 · 0 comments · May be fixed by #15
Open
11 of 14 tasks

new bot modular in docker compose #14

mortifia opened this issue Dec 13, 2022 · 0 comments · May be fixed by #15
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@mortifia
Copy link

mortifia commented Dec 13, 2022

for easier dev and prod (code, matain, accesibility, easier to new dev to work in this), matain os clean, run in all os,

for that

  • remove install.ps1

    only use docker command to build and run if we need extra step. add in dockerfile

  • remove debugBot

    (add complexity and only possibly used when dev (for debug in dev other and simpler methods exist ))

  • pass discord.py to v2 (mandatory if it is planned to be exported)

  • add choice to prefix Command /slash API discord #26

  • simplify and standardize code

  • install extra lib needed by extends at start of container to matain container modular
    pip install -r base.txt -r exdend1.txt -r extend2.txt

    sudo find . -name "requirement*" -type f -exec pip3 install -r '{}' ';'
    peut-être une voie a suivre pour gardé ca simple

  • use multifile extend in discord.py (cog)

    for dev check doc
    in docker compose 2~3 step :
    - extend by ading file or folder for extend
    - update env for extend to add name of the file - BOT_EXTEND=extend1, extend2 https://stackoverflow.com/a/74567575
    - (optionnal) add file for extra lib in good folder (not final path : extend_pip/) ! explain after
    new method :
    - add folder (event.py, and if needed pip)
    - start or reload (by docker-compose or command)

  • add auto add lib before load extension (by folder) (pip)

  • (for other ticket) doc for discord task in python to add routines like archives

  • merge docker-compose file to symplify ? article, doc

  • add httpd (apache) to base ?

  • ajouté "GMT +1 / -6" (france quebec) Bot_Planning_python#17

before release await this is ready

@mortifia mortifia added documentation Improvements or additions to documentation enhancement New feature or request labels Dec 13, 2022
@mortifia mortifia added this to the clean bot milestone Dec 13, 2022
@mortifia mortifia self-assigned this Dec 13, 2022
@mortifia mortifia linked a pull request Dec 13, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
Status: 🏗 In progress
Development

Successfully merging a pull request may close this issue.

1 participant