# Install plugins without direct access to github

**URL:** <https://meta.discourse.org/t/install-plugins-without-direct-access-to-github/111718>\
**Category:** Product Support\
**Tags:** unsupported-install\
**Created:** [March 15, 2019, 4:24pm UTC](https://meta.discourse.org/t/install-plugins-without-direct-access-to-github/111718 "2019-03-15T16:24:10Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Bram\_van\_Oploo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bram_van_oploo/32/134149_2.png) [@Bram\_van\_Oploo](https://meta.discourse.org/u/Bram_van_Oploo)\
**Post date:** [March 15, 2019, 4:24pm UTC](https://meta.discourse.org/t/install-plugins-without-direct-access-to-github/111718/1 "2019-03-15T16:24:11Z")

</div>

I’m installing Discourse (ditnami-discourse) within a very restricted environment. The VM has no access to github, for instance. The mechanism bitnami-discourse uses for plugin installation is:

```plaintext
RAILS_ENV=production bundle exec rake plugin:install repo=https://github_repo_url
RAILS_ENV=production bundle exec rake assets:precompile

```

Via an alternative route I’ve placed (cloned) the plugin repo’s in de plugins directory. Unfortunately (for me) “RAILS\_ENV=production bundle exec rake plugin:install” seems to do more then just clone the repo in the plugins directory. Because when I run “RAILS\_ENV=production bundle exec rake assets:precompile” the plugins are not being picked up. Is there an option to do something like ?:

```plaintext
RAILS_ENV=production bundle exec rake plugin:install path=./local_repo_for_plugin

```

Thank you in advance!

---

_[View the full topic](https://meta.discourse.org/t/install-plugins-without-direct-access-to-github/111718)._
