# Tutor with maple.3 development environment queries

**URL:** https://discuss.openedx.org/t/tutor-with-maple-3-development-environment-queries/7548
**Category:** Development
**Tags:** maple
**Created:** [June 21, 2022, 6:55am UTC](https://discuss.openedx.org/t/tutor-with-maple-3-development-environment-queries/7548 "2022-06-21T06:55:51Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![alokkumar245](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/alokkumar245/32/3841_2.png) [@alokkumar245](https://discuss.openedx.org/u/alokkumar245)
#### Post date: [June 21, 2022, 6:55am UTC](https://discuss.openedx.org/t/tutor-with-maple-3-development-environment-queries/7548/1 "2022-06-21T06:55:51Z")

</div>

@uetuluk I have some queries related to the configuration:

- How can I add a specific command in Dockerfile inside tutor , As I am using some submodules which are coming from my private directory. What I am doing currently I am adding “RUN git submodule init” and “RUN git submodule update” after the edx-platform clone but as soon as I run quickstart the Dockerfile update and sets to default can you provide me solution to make Dockerfile customized.

- After setting all the details and running containers( running forked edx-platform), I was able login into lms but when I go to studio I am getting an error " ‘staticfiles’ is not a registered tag library." I tried setting in TEMPLATES in common.py with :  
" ‘libraries’: {  
‘staticfiles’: ‘django.templatetags.static’,  
}, "  
but the issue remains.

- I am also getting a specific type of issue for running the ecommerce - payment container only :  
No local module configuration file found. This is fine.  
payment\_1 | [webpack-cli] Failed to load ‘/openedx/app/webpack.dev.config.js’ config  
payment\_1 | [webpack-cli] TypeError: merge is not a function

---

<div class="post-metadata">

### Author: ![uetuluk](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/uetuluk/32/3015_2.png) [@uetuluk](https://discuss.openedx.org/u/uetuluk)
#### Post date: [June 23, 2022, 2:20am UTC](https://discuss.openedx.org/t/tutor-with-maple-3-development-environment-queries/7548/2 "2022-06-23T02:20:13Z")

</div>

> [@alokkumar245](#):
>
> How can I add a specific command in Dockerfile inside tutor , As I am using some submodules which are coming from my private directory. What I am doing currently I am adding “RUN git submodule init” and “RUN git submodule update” after the edx-platform clone but as soon as I run quickstart the Dockerfile update and sets to default can you provide me solution to make Dockerfile customized.

You need to use the plugins to make changes that will persist. Here is the guide for creating a plugin: [Plugins — Tutor documentation](https://docs.tutor.overhang.io/plugins/index.html). Check this file for a list of patches you can use: [https://github.com/overhangio/tutor/blob/master/docs/reference/patches.rst](https://github.com/overhangio/tutor/blob/master/docs/reference/patches.rst)

> [@alokkumar245](#):
>
> After setting all the details and running containers( running forked edx-platform), I was able login into lms but when I go to studio I am getting an error " ‘staticfiles’ is not a registered tag library." I tried setting in TEMPLATES in common.py with :  
> " ‘libraries’: {  
> ‘staticfiles’: ‘django.templatetags.static’,  
> }, "  
> but the issue remains.

This might be an issue with your changes, check if you used the wrong variable somewhere.

> [@alokkumar245](#):
>
> I am also getting a specific type of issue for running the ecommerce - payment container only :  
> No local module configuration file found. This is fine.  
> payment\_1 | [webpack-cli] Failed to load ‘/openedx/app/webpack.dev.config.js’ config  
> payment\_1 | [webpack-cli] TypeError: merge is not a function

I cannot help you with e-commerce since we do not have paid courses.

---

<div class="post-metadata">

### Author: ![alokkumar245](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/alokkumar245/32/3841_2.png) [@alokkumar245](https://discuss.openedx.org/u/alokkumar245)
#### Post date: [June 23, 2022, 2:01pm UTC](https://discuss.openedx.org/t/tutor-with-maple-3-development-environment-queries/7548/3 "2022-06-23T14:01:28Z")

</div>

@uetuluk Thank you for the solutions you have provided , I have resolved my Dockerfile and staticfiles issue.

I am currently facing a discovery setup issue :

- I have installed ecommerce plugin which provided three plugins with it ecommerce,discovery and mfe.
- Saved the config file then ran quickstart to setup ecommerce but ecommerce has some dependency on discovery.
- So After the migration steps discovery gives an error where it is trying to connect to a disovery api but is unable to connect:
- The error is → HTTPConnectionPool(host=‘[local.overhang.io](http://local.overhang.io)’, port=80): Max retries exceeded and One or more of the data loaders above failed.
- I have checked all the details present in Oauth2 table with discovery-sso settings and they are all set with correct details.

If you have faced any issue related to this or have anything relevant to this issue please provide the help.
