I want to install a plugin What should I do?
This guide assumes that you have a self-hosted standard installation. We only support the standard method of install here, so these instructions assume you have a standard install .
This guide only applies to self-hosted Discourse instances. If you are using a managed hosting service, the available plugins are controlled by your hosting provider. For example, on our hosting these specific plugins are available by hosting tier.
In this tutorial, weβll install the Discoursβ¦
cd /var/discourse
nano containers/app.yml
I do not have a file named app.yml.
This guide does not help me.
Is there no other way?
I Install Discourse for Development using Docker. I want to install a discourse rating plugin. I thinkβ¦
cd ~discourse/plugin
git clone https://github.com/angusmcleod/discourse-ratings
docker restart
Is this my idea?
1 Like
Stephen
(Stephen)
July 23, 2019, 12:12am
2
How was your server installed?
guide to install discourse for development using docker
Developing using Docker
Since Discourse runs in Docker, you should be able to run Discourse directly from your source directory using a Discourse development container.
Pros: No need to install any system dependencies, no configuration needed at all for setting up a development environment quickly.
Cons: Will be slightly slower than the native dev environment on Ubuntu, and much slower than a native install on MacOS.
Step 1: Install Docker
Ubuntu
curl -fsSL https:/β¦
hawm
(Hawm)
July 23, 2019, 1:51am
4
Clone the plugin repository to you plugin folder and restart the rails server if you start already.
3 Likes
Clone the plugin repository to you plugin folder and docker restart
After :
fatal : Not a git repository
what is problem?
hawm
(Hawm)
July 23, 2019, 6:18am
6
Make sure you are really using a git repository URL like https://github.com/angusmcleod/discourse-ratings.git
If you follow Beginners Guide to Install Discourse for Development using Docker to start developing, you donβt have to restart docker, just go into the discourse folder and call ./bin/docker/unicorn to start server or Ctrl + C to stop.
really using a git repository URL Like βhttps://github.com/angusmcleod/discourse-ratings.git β
Which file should I use?
hawm
(Hawm)
July 23, 2019, 6:59am
8
Clone the whole repository to your plugin folder then restart the server will work
cd ~discourse/plugins folder
plugin file already exists.
I put the discourse rating plugin in the existing plugin folder and restarted the server.
hawm
(Hawm)
July 23, 2019, 7:15am
10
Go to /admin/plugin you can find your plugin
Go to /discourse/plugins
plugins in git clone βhttps://github.com/angusmcleod/discourse-ratings.gitβ
docker discourse helth starting γ
γ
sudo docker logs 2fwk40482dw : fatal: Not a git repository (or any parent up to mount point /discourse)
I do not know until nowβ¦
Please Help meβ¦ ν¬
hawm
(Hawm)
July 23, 2019, 11:54am
12
Why your step 3? Post your all operating procedure here?
Thank you
go to cd ~discourse/plugins discourse-rating remove
After
git clone https://github.com/angusmcleod/discourse-ratings.git
I solved
Good at home.
but
The discourse installed in the company seems to have a problem.
Can not restart docker after installing plug-in
sudo docker logs 2fwk40482dw
: fatal: Not a git repository (or any parent up to mount point /discourse)
Stephen
(Stephen)
July 23, 2019, 2:13pm
14
Is the company server a production install or development install?
1 Like
It is possible to modify source based on docker-compose.
development install
Stephen
(Stephen)
July 24, 2019, 1:42am
16
If it was installed in the same way as your copy at home it should behave in the same way.
How do these two environments differ, is the installation at your company being used by other users?