Reload or click Browse in Google App Engine Launcher to see the change. Try it now: Leave the web server running, then edit helloworld.py to change Hello, World! to something else. The web server knows to watch for changes in your source files and reload them if necessary. You can leave the web server running while you develop your application. For more information about running the development web server, including how to change which port it uses, see the Dev Web Server reference, or run the command with the option -help.You can test the application by visiting the following URL in your web browser: The web server is now running, listening for requests on port 8080. If you're not using Google App Engine Launcher, start the web server with the following command, giving it the path to the helloworld directory: Clicking Browse simply loads (or reloads) in your default web browser. Select the application in the app list, click the Run button to start the application, then click the Browse button to view it. If you're using the Google App Engine Launcher, you can set up the application by selecting the File menu, Add Existing Application., then selecting the helloworld directory. You can now test it with the web server included with the App Engine SDK. With a handler script and configuration file mapping every URL to the handler, the application is complete. For a complete list of configuration options, see the app.yaml reference. Every request to a URL whose path matches the regular expression /.* (all URLs) should be handled by the application object in the helloworld module.Threadsafe is an advanced feature and may result in erratic behavior if your application is not specifically designed to be threadsafe.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |