How to fork a plugin that's now in core

A Happy Ending…

I downloaded the plugin file from the repository (discourse original) and uploaded it to the cloned directory (deleting the old files).

Subsequently, I modified the settings in app.yml:

hooks:
  after_code:
     - exec:
        cd: $home/plugins
        cmd:
          - git clone https://github.com/discourse/docker_manager.git
          - rm -rf discourse-ai
          - git clone https://github.com/KilicSelcuk/discourse-ai.git

I recompiled and encountered no errors. The changes I made in the repository are also updated in the admin panel, and everything functions as I desire.

<3

I know I caused you trouble and took up your time. However, I am sending you wonderful feelings of goodwill and gratitude across the universe. Thanks

2 Likes