The user 영광_임 is trying to install the discourse-rating plugin in a development environment, but is encountering the error fatal: Not a git repository (or any parent up to mount point /discourse). pfaffman suggests checking if the plugin is being installed in a production site and provides links to relevant guides. 영광_임 replies that they have a development environment and do not have an app.yml file.
pfaffman advises that the plugin should be installed in the plugins directory. 영광_임 successfully installs the plugin at home, but not at their company, which is running Discourse version 18.0.
merefield asks if the company version is also a development install, and 영광_임 confirms that it is. merefield suggests checking if GitHub can be pinged from the terminal and provides a link to a relevant topic.
영광_임 discovers that the issue is likely related to the Discourse version and later finds the real error to be undefined method 'add_permitted_post_create_param' for #<Plugin::Instance:0x00559773470350>.
merefield advises that the issue should be solved by updating the Discourse instance to the latest tests-passed version before trying to add plugins. 영광_임 thanks the users for their help, but has not yet solved the issue.
I am going to modify some of the topic and reply sources.
I want to place a star rating feature next to likes
I don’t know which part to modify Source
There is a lack of understanding of the Ruby language, which makes it difficult to implement code.
Use plugin discourse-rating… Add
Error : fatal: Not a git repository (or any parent up to mount point /discourse)
Have you ever experienced the same error when installing a plugin?
or
Controller or views file
Do you know where you need to edit?
We can’t help with that kind of thing here. Support is limited to the official install, which is a docker-based installation using launcher and the app.yml.
If you opt to use something else you assume any extra technically burden which it creates.
I think all bets are off until you get a working instance of Discourse at your company on latest tests-passed then worry about adding in the plugins later.
From my experience tests-passed is very robust so you would have little to fear (I run three production sites on tests-passed)