영광_임
(영광 임)
22 ביולי, 2019, 11:08pm
1
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
Stephen
(Stephen)
23 ביולי, 2019, 12:12am
2
How was your server installed?
영광_임
(영광 임)
23 ביולי, 2019, 1:36am
3
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)
23 ביולי, 2019, 1:51am
4
Clone the plugin repository to you plugin folder and restart the rails server if you start already.
3 לייקים
영광_임
(영광 임)
23 ביולי, 2019, 6:01am
5
Clone the plugin repository to you plugin folder and docker restart
After :
fatal : Not a git repository
what is problem?
hawm
(Hawm)
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.
영광_임
(영광 임)
23 ביולי, 2019, 6:56am
7
really using a git repository URL Like ‘https://github.com/angusmcleod/discourse-ratings.git ’
Which file should I use?
hawm
(Hawm)
23 ביולי, 2019, 6:59am
8
Clone the whole repository to your plugin folder then restart the server will work
영광_임
(영광 임)
23 ביולי, 2019, 7:12am
9
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)
23 ביולי, 2019, 7:15am
10
Go to /admin/plugin you can find your plugin
hawm
(Hawm)
23 ביולי, 2019, 11:54am
12
Why your step 3? Post your all operating procedure here?
영광_임
(영광 임)
23 ביולי, 2019, 1:38pm
13
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)
23 ביולי, 2019, 2:13pm
14
Is the company server a production install or development install?
לייק 1
영광_임
(영광 임)
24 ביולי, 2019, 1:01am
15
It is possible to modify source based on docker-compose.
development install
Stephen
(Stephen)
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?