title: GoogleApps - how can I deploy my application
body: <p>I created my first application GoogleApps and I want to deploy it on server. It doesn't work and in logs I found an error:</p>
  
  <blockquote>
    <p>Uncaught exception from servlet
    com.google.appengine.api.datastore.DatastoreNeedIndexException: The
    index for this query is not ready to serve. See the Datastore Indexes
    page in the Admin Console. The suggested index for this query is:</p>
  </blockquote>
  
  <pre><code>&lt;datastore-index kind="Greeting" ancestor="true" source="manual"&gt;
          &lt;property name="date" direction="desc"/&gt;
  &lt;/datastore-index&gt;
  </code></pre>
  
  <p>I suppose that I have to paste this code into my application but I have no idea where. I was following this tutorial:</p>
  
  <p><a href="http://code.google.com/intl/pl/appengine/docs/java/gettingstarted/introduction.html" rel="noreferrer">Google Apps TUTORIAL - Java</a> </p>
  
  <p>Any ideas?</p>
  
  <p>Thanks in advance :)</p>