# A tiny Tutor plugin for auto-mouting virtual environments from the host

**URL:** <https://discuss.openedx.org/t/a-tiny-tutor-plugin-for-auto-mouting-virtual-environments-from-the-host/7658>\
**Category:** Development\
**Tags:** tutor, tutor-plugin\
**Created:** [June 28, 2022, 1:54am UTC](https://discuss.openedx.org/t/a-tiny-tutor-plugin-for-auto-mouting-virtual-environments-from-the-host/7658 "2022-06-28T01:54:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kmccormick](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/kmccormick/32/8982_2.png) [@kmccormick](https://discuss.openedx.org/u/kmccormick)\
**Post date:** [June 28, 2022, 1:54am UTC](https://discuss.openedx.org/t/a-tiny-tutor-plugin-for-auto-mouting-virtual-environments-from-the-host/7658/1 "2022-06-28T01:54:21Z")

</div>

For you folks using [Tutor as a development environment](https://docs.tutor.overhang.io/dev.html):

Here’s a [small Tutor plugin](https://github.com/kdmccormick/tutor-contrib-kdmccormick/blob/master/tutorkdmccormick/automountvenvs.py) that I’ve been using to auto-mount my virtual environment folders into service containers based on each folder’s name ([example usage here](https://github.com/kdmccormick/tutor-contrib-kdmccormick#automountvenvs)). It’s saved me a lot of typing, since I tend to like to mount a service’s virtual environment whenever I am mounting its source repo.

I plan on proposing this as an upstream feature eventually, but I wanted to share it out first in case anyone finds it helpful in the meantime. Cheers!

---

<div class="post-metadata">

**Author:** ![regis](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/regis/32/2640_2.png) [@regis](https://discuss.openedx.org/u/regis)\
**Post date:** [July 11, 2022, 12:08pm UTC](https://discuss.openedx.org/t/a-tiny-tutor-plugin-for-auto-mouting-virtual-environments-from-the-host/7658/2 "2022-07-11T12:08:07Z")

</div>

I like that! It would totally make sense to include this upstream.

---

<div class="post-metadata">

**Author:** ![lpm0073](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/lpm0073/32/45_2.png) [@lpm0073](https://discuss.openedx.org/u/lpm0073)\
**Post date:** [September 20, 2022, 7:25pm UTC](https://discuss.openedx.org/t/a-tiny-tutor-plugin-for-auto-mouting-virtual-environments-from-the-host/7658/3 "2022-09-20T19:25:31Z")

</div>

i **THINK** that i need this but i’d like to confirm the use case beforehand. i’m setting up a simple dev/test environment that my client wants to use mostly for QA work to verify custom theme modifications, and light testing of a half dozen pretty simple Xblocks and tutor plugins. see screen shot.

I used `tutor local quickstart` on an AWS EC2 instance to stand up an Open edX installation, and then rebuilt the openedx container after having added the custom theme and Python requirements.

**MY OBJECTIVE** : i want to be able to edit the custom theme template files, and the Python files in the additional requirements without needing to rebuild the openedx container on each edit. Can i accomplish that with this tiny plugin?

 ![Screen Shot 2022-09-20 at 14.17.24](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/6/602b37660bf60e8406ecc947cde267f5b1b5364a.jpeg)

---

<div class="post-metadata">

**Author:** ![kmccormick](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/kmccormick/32/8982_2.png) [@kmccormick](https://discuss.openedx.org/u/kmccormick)\
**Post date:** [October 27, 2022, 1:45am UTC](https://discuss.openedx.org/t/a-tiny-tutor-plugin-for-auto-mouting-virtual-environments-from-the-host/7658/4 "2022-10-27T01:45:06Z")

</div>

@lpm0073 , sorry I did not respond to you earlier! I was hoping to make some improvements before confirming that the plugin would work for you… and now, a month later those improvements turned into a [completely different plugin: quickdev](https://github.com/kdmccormick/tutor-contrib-kdmccormick/blob/master/quickdev.rst).
