How to install a plugin on your local development environment

(This guide only covers non-docker dev install. For Docker dev :whale: see Beginners Guide to Install Discourse for Development using Docker)

If you’ve followed the instructions to set up your local discourse, you can install a plugin locally:

  1. Stop your local server if it’s running.

  2. Download the plugin repo and save it your /plugins folder. Alternatively, you can use a symlink.

  3. If the plugin includes migrations (you’ll see them in db/migrate), run them with: bundle exec rake db:migrate

  4. Re-start the server with: bundle exec rails server

  5. If the plugin has settings, you can edit them by going to http://localhost:4200/admin/plugins and clicking on “Settings” next to its name.

If you’d like to install a plugin in production, follow this guide.

4 Likes

Things are a little different for dev docker. You might want to point that out.

2 Likes

Good point. Unfortunately, I don’t have any experience with it.

Feel free to add a section if you know how to do it in dev docker.

2 Likes

It’s covered in the dev docker guide already. You just need a caveat.

1 Like