Skip to content Skip to sidebar Skip to footer

Pycharm Multiple Modules Run Server

I'm trying to use multiple modules in google app engine. i try using this source code: https://github.com/GoogleCloudPlatform/appengine-modules-helloworld-python but i cant seem to

Solution 1:

FWIW, I was able to run a multi-module project on the devserver after adding the location of each module's .yaml file relative to the project dir in the Additional options section of the Run -> Edit Configurations menu.

Note: I'm using PyCharm 4.0.6 which has the fix for PY-10675 - the subject of the similar question you mentioned.

This line in your Run log indicates you don't have the .yaml files for your modules included in the run configurations, it's just running with the default settings:

... (x86)/Google/google_appengine/dev_appserver.py" --host 127.0.0.1 .

Add these to your run configurations:

app.yaml mobile_frontend.yaml static_backend.yaml

With these configs in place you should see something like this in the first line of the Run log:

... (x86)/Google/google_appengine/dev_appserver.py" --host 127.0.0.1 app.yaml mobile_frontend.yaml static_backend.yaml

I'm not 100% sure if dispatch.yaml should also be included (I didn't yet use a dispatcher file in my projects) - follow the messages displayed in the Run console and try to add it as well if needed.

But I am stuck as well at the upload stage as I can't find a place for similar upload configs. Confirmed by JetBrains as an issue, tracked as PY-15686.

Manual uploads appear to be the only workaround for now.


Post a Comment for "Pycharm Multiple Modules Run Server"