I deployed the Web Application "Google App Engine Tutorial example 1" (http://googcloudlabs.appspot.com/codelabexercise1.html) to GAE at the site http://templiba.appspot.com . I can access the site but the application is not saving the Product and Item values in the DataStore. The same is happening when I try on my local. It there a known fix for it? Or could you assist me with a Tutorial example with code that writes to the DataStore? Thank you.
Are you sure you made all the required modifications to the code provided as outlined in Step 4? When I migrated from Google App Engine for Python to Java, the Getting Started guide was very useful; it covers all the basic concepts starting from creating the Eclipse project while presenting the code in a easier way to understand (in my opinion) than the Code Labs which seem slighly outdated (broken links, etc).
Getting Started
Datastore Overview within Getting Started
Related
I used to work on Heroku a lot and loved their pipeline feature, that spins a new instance for every PR on github to test with.
We're using Google Appengine to serve a django app and are struggling to find an alternative for this live testing on the web.
Does anyone know what to use to do the same for Google Appengine? Is this something that needs to be built custom? Can't seem to find anything on google searches.
Thanks :)
Maybe the following two articles will help you.
Continious delivery with Bitbucket:
https://cloud.google.com/solutions/continuous-delivery-bitbucket-app-engine
or you can use Gitlab (that's what I am doing)
https://medium.com/evenbit/an-easy-guide-to-automatically-deploy-your-google-app-engine-project-with-gitlab-ci-48cb84757125
Unfortunately Google Cloud does not offer any out of the box solution until now
Till now I was working alone on a project on Google App Engine. So I had to write the code and upload it on App Engine using gcloud app deploy project-path/app.yaml.
But now a bigger project has arrived. So a team has to work on it and everyone has their own systems. I simply want to ask how can we deploy project from different devices still preserving the changes made by other developers? As everyone has to deploy their code on cloud for the same project. I searched over the web but found nothing. Is it even possible?
Thanks!
maybe this article will help you. It describes how to deploy from Gitlab to Google App Engine
https://medium.com/evenbit/an-easy-guide-to-automatically-deploy-your-google-app-engine-project-with-gitlab-ci-48cb84757125
Regards
Michael
I am trying to establish how widely used the Glide framework (http://glide-gae.appspot.com/) is on App Engine, I am looking for a RAD environment for developing on App Engine and came across these slides http://www.slideshare.net/kunal.dabir/rapid-app-dev-on-gae and I thought Glide was what I was looking for.
I have downloaded and tried to follow the 2 minutes to fly steps when I get to the step 4 and enter glide I get the following error:
Exception in thread "main" : D:\Documents\dev\GAE\Glide\hello-glide\null\template does not exist
followed by an exception stack trace
I can get the example projects to run using
gradlew run -Papp=D:\glide\samples\simple_app
Glide is currently work in progress but it's based on Gaelyk Framework which is already mature serving millions of requests a day. Glide just simplifies even more the already easy development (compared to pure Java) on Google App Engine.
Try to ask Kunal directly for more information.
Googling the web I haven't found anything that says something about whether Dart should eventually become supported by the Google App Engine hosting platform.
Google is saying that Dart should also be considered a language for developing the server part for a web application.
Does anyone know more about it?
An issue has been opened on Google Code for App Engine. I suggest you to stars it.
http://code.google.com/p/googleappengine/issues/detail?id=6092
It is now available for managed VMs (still beta)
See
https://www.dartlang.org/cloud/
https://pub.dartlang.org/packages/appengine
https://pub.dartlang.org/packages/gcloud
https://github.com/dart-lang/appengine_samples
for more details
All,
We are trying to host our web application on Google App. Engine with little success.
Here are the specifics:
The web application is built on HTML5, SVG & Javascript. We are using python 2.6 for upload. We initially used the following tutorial for upload but are getting errors once its uploaded.
Link to tutorial: http://www.labnol.org/internet/host-website-on-google-app-engine/18801/
We are getting errors in the appcfg.py python file. We are totally clueless how to go about using this so any guidance would be awesome, tutorials would be even more so.
UPDATE: Further to the outcry and Milimetric's helpful post, here is more detail:
We have managed to upload the web application onto the Google App Engine. Going into the dashboard, we can see the application is running (we can see the instance graphs and CPU stats), however, when we execute the custom link to the web application, we only get the 'Hello World' message.
We followed the tutorial by Milimetric & Rolled back the 'appcfg.py' to original state. Following the tutorial, we only made changes to the 'app.yaml' (inserted our application name). We didnt write any custom python script.
We are not getting any errors anywhere, only the message 'Hello World' upon executing the link in the browser window.
Hope the above is more useful.
Cheers,
If any of the following is redundant (or you already went through the steps), let me know and I'll edit. Just didn't know where to start or how familiar with app engine you were.
That tutorial will set up a functional app engine site. Were you able to get that running without any errors before adding your own code? Try running it locally with the launcher (localhost:8080 by default).
To add code, you have to start with the main.py file from the tutorial. Google app engine applications use the google.appengine.ext.webapp namespace to get started and listen to requests. In main.py, start with MainHandler and add code there.
To add more "routes" to your app, look at the WSGIApplication constructor: webapp.WSGIApplication ([('/(.*html)?', MainHandler)], debug=True) from their tutorial. So for example, you can have a route go to contact-us like this: webapp.WSGIApplication ([('/(.*html)?', MainHandler), ('/contact-us', ContactUsHandler)], debug=True).
As far as tutorials, the google app engine "Getting Started" tutorial is a good primer to get you in the mindset: http://code.google.com/appengine/docs/python/gettingstarted/
Google app engine is a cloud computing technology and it is designed for developing and hosting web applications it supports APIs, and frameworks. To solve this issue you ha eto understand app engine completely so to learn more about app engine visit the link above:
http://en.wikipedia.org/wiki/Google_App_Engine