How to upload to google app engine just one python script (not all project folder)? - google-app-engine

I'm newbie in Google App Engine.
I can't found information about appcfg.py, which explains how to specify a few files to uploading. When I'm executing
appcfg.py update .
it's uploading all project folder and it takes a lot of time.
How can I upload to server only main.py, for example?

You can't only upload part of the application, you upload the entire application at once.

Related

How do I run an app deployed on AppEngine from an AppScript file on my Drive

I have deployed an app on App Engine in the Google cloud project that uses the data stored in csv file as input from a folder on my Drive.
That data is created by a function in Google Script in a script file on my Drive.
Once the App script function has run and created the data in csv file it needs to call the app on the AppEngine to process that data.
Do I need to create an App Script API in the cloud project where the AppEngine is?
How do I use that API key from inside my Google script in my script file on my Drive?
Thanks
Nothing because everything I have seen seem to be the other way around.

Deploy small change to google app engine

I want to deploy a change in my app.yaml file to google app engine. Is there a simple way to do this without redeploying the whole app? Is there a way of changing the app.yaml file on the google cloud directly? Or just deploying one file from my Windows directory?
My app is working fine in the virtual environment but I'm having some issues on the google cloud platform. The whole deploying process takes quite a while so I'm looking for a faster way to make a change and test it.
You can use appcfg.py update app.yaml from AppEngine Python SDK:
https://cloud.google.com/appengine/docs/standard/python/tools/appcfg-arguments#update
Use the files argument to upload one or more YAML files that define
modules. No other types of YAML files can appear in the command line.
Only the specified modules will be updated.
You can try using gcloud app deploy inside the directory where your application is located in order to upload the file you need.
Specifying no files with the command deploys only the app.yaml file of a given service.
This command will only upload to the cloud the files where there are changes, so if you have only modified the app.yaml file, it should not take too much time for the upload. However, as that is the configuration file of your application, it might need to be re-deployed completely, as the changes made in that file might affect the behaviour of the whole app. That is the reason why it might be taking longer than expected.
On the other side, you may want to know that if you are using App Engine Flexible environment, the deployment will always be slower than in a Standard environment, as resources have to be deployed before launching the application itself.

Google App Engine swf files paritally downloading

I'm just getting started with Google App Engine and I have a few questions. Some of my swf files are halting their download after loading the first 10%. This doesn't happen on a traditional web host, or when running the GAE app locally. I'd like to verify that the file has uploaded properly, but I can't figure out how to view the files associated with an app once they've been uploaded to Google App Engine.
Thanks
There is no way to view files on the server. But you could download app files from the server: https://cloud.google.com/appengine/docs/java/tools/uploadinganapp#Downloading_an_Application
Also I suggest to use Google Cloud Storage for such files, there you can upload/download/verify/etc from the browser (or command line), and it better suits for serving static files, especially large ones

upload php files to google cloud using lamp

I am new to google cloud. I am using xamp in my laptop. I have created a project in php called "test" in my htdocs. Its works succesfully on my localhost. I have an account at google cloud and I have setup lamp and it works successfully. I was trying to find a way to upload my folder "test" (which includes all my php files) to google cloud. Do I need to use Google App Engine Launcher? Is there an easier way to do this? i.e example to use filezilla? Anybody knows where I can find a tutorial about how to do this? Thanks
You need to download Google App Engine SDK for PHP from here. Detailed procedure for uploading and managing PHP app in Google App Engine is described here.

Upload Adobe .air file in Google App Engine

Can google app engine be used to store or host an adobe air file (.air)? The .air file will be used as a software updater. I have tried uploading files view google app engine launcher and the only files uploaded are the php and xml files.
Any help is appreciated. Thanks
You should be able to upload content i.e. your .air files. Just make sure to place those files in the appropriate content folders for your web application and you should be good.
Another option for hosting files as a web site could be Google Drive too. Check out : http://www.labnol.org/internet/host-website-on-google-drive/28178/

Resources