Home | History | Annotate | only in /external/webrtc/tools/python_charts
Up to higher level directory
NameDateSize
app.yaml06-Dec-2016122
data/06-Dec-2016
gviz_api.py01-Jan-19700
OWNERS06-Dec-201622
README06-Dec-20161.9K
templates/06-Dec-2016
webrtc/06-Dec-2016

README

      1 This file describes how to setup Eclipse and then the Python Charts project
      2 
      3 Setup Eclipse
      4 -------------
      5 These instructions were tested on Linux, but are very similar for Windows and
      6 Mac.
      7 1. Ensure you have Python 2.x installed
      8 2. Download and install Google App Engine SDK for Python from
      9    http://code.google.com/appengine/downloads.html
     10 3. Note which location you put App Engine in, as this will be needed later on.
     11 4. Download Eclipse from http://www.eclipse.org. Any distribution will probably
     12    do, but if you're going to do mainly web development, you might pickEclipse
     13    IDE for JavaScript Web Developers
     14 5. Install the PyDev plugin using the Eclipse update site mentioned at
     15    http://pydev.org/download.html
     16 6. Install the Google Plugin for Eclipse:http://code.google.com/eclipse/
     17 
     18 Setup the project
     19 -----------------
     20 Generic instructions are available at
     21 http://code.google.com/appengine/docs/python/gettingstarted/ but the following
     22 should be enough:
     23 1. Launch Eclipse and create a workspace
     24 2. Create a new PyDev Project
     25 3. In the PyDev Project wizard, uncheck the "Use Default" checkbox for Project
     26    contents and browse to your tools/python_charts directory.
     27 4. Enter a project name. We'll assume PythonCharts in the examples below.
     28 5. In the radio button of the lower part of the window, select
     29    "Add project directory to the PYTHONPATH"
     30 6. Click Finish
     31 7. Select the Run > Run Configuration menu item
     32 8. Create a new "Python Run" configuration
     33 9. Select your Python Charts project as project
     34 10. As Main Module, enter the path to your dev_appserver.py, which is a part
     35     of your App Engine installation,
     36     e.g. /usr/local/google_appengine/dev_appserver.py
     37 11. At the Arguments tab, enter the location of your project root.
     38     Using Eclipse variables if your project name is PythonCharts:
     39     ${workspace_loc:PythonCharts}
     40 12. Launch the development app server by clicking the Run button.
     41 13. Launch a browser and go to http://localhost:8080
     42