![]() Add the line below to the component element and save.To add more GAE libraries, add them to the list (in a similar way to webapp2, django and jinja). See the next section if you’d like to use a per user macro path variable instead. Update the paths C:/Program Files (x86)/Google/google_appengine as needed to point to your GAE install location.Copy and paste the xml code below in GAE_SDK.xml:.idealibraries, create an xml file named GAE_SDK.xml idea, create a directory named libraries. To enable P圜harm’s code navigation and completion, we need to add the GAE SDK to P圜harm’s list of External Libraries. To debug, add a breakpoint in the python file and run in debug mode. The basic P圜harm configuration for python GAE debugging is done. Ensure the option Attach to subprocess automatically while debugging is ticked.Expand the tree to Build, Execution, Deployment > Python Debugger.idearunConfigurationsGAE_config.xml, which can be shared with other users and put in version control. These are the minimum arguments needed for the debugging to work.Įnsure you include the final argument, “. –automatic_restart=no –max_module_instances=”default:1″. On Windows the default installation is C:Program Files (x86)Googlegoogle_appenginedev_appserver.py. Here you need to enter the location of the dev_appserver.py file installed in your Google App Engine SDK. In the Add New Configuration list, select Python.Ĭhoose a name, which we’ll refer to as GAE_config.For our examples we’ll be using the folder C:myproject, which we’ll refer to as. Select your base project folder (the one which contains an app.yaml file).The prerequisites at the end of this post explain how to set up an example GAE application. You’ll need a pre-existing GAE project for this to work. This is the minimum Run/Debug configuration that will enable you to debug your python for GAE application. ![]() In case something happens to it, though, I’ll re-post it here. ![]() Here, I just followed the directions on this website. Now time to make everything play nice together! This was far easier than it was on my Mac. Which should be all of them except CourseBuilder. I recommend Notepad++, which you can download here.Īfter downloading, install the files that ask to be installed. Not necessarily required, but I ended up needing a basic text editor for one step. One time I downloaded it, there must’ve been a problem since it didn’t download the entire program. At the time of writing, it was “Course Builder v1.8.0 (6 April 2015).” Check to make sure your copy has a “lib” folder. I was having issues directly clicking “Export to GitHub,” so click on the Downloads page and download the latest zip version. Grab the “for Python” version.įinally, download Google CourseBuilder here. If I understand correctly, it would then be impossible to run without it. The Engine runs as the server of CourseBuilder. To run CourseBuilder, you need to have the Google App Engine SDK. For some reason, P圜harm 4.5 doesn’t play nice with CourseBuilder. P圜harm, my Python IDE of choice (since the others on my project are using it), can be found here. CourseBuilder doesn’t play nice with version 3, so make sure you have a version of Python 2. All I know is that it worked for me in my particular situation.ĬourseBuilder is based off of Python, so check to make sure Python is installed. I make no guarantee nor responsibility that it will work for anyone else. There wasn’t a single source of information I could find to get CourseBuilder to work properly, so I decided to put together this guide in the chance that I need to go through the process again. This is a direct follow-up to my last post, Setting Up Google CourseBuilder in the P圜harm IDE on Mac OS X.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |