Can anyone tell me how I can easily host my Django Project on Google Cloud Platform ?
Links to a detailed video guide are highly appreciated and Thanks in advance.
I find the documentation so convoluted, tedious, and non-user friendly and so need help to figure out the right way to host my Django based project.
The best way to deploy your Django project in the cloud is using a micro VM, or you can use google app engine but I don't have experience with that so I can't help you with that.
First create a VM instace if you don't know how you can read this then you can read this tutorial how to setup a Django tutorial in a Linux machine . Hope it helps
Google Cloud Platform has multiple product offerings, you need to decide on one which best fits your particular case.
IMHO you should start here to decide: Getting Started With Django
Related
I am trying to create a web application using python on the google cloud platform. I have followed Google's quick-start guide and completed it.
App currently just prints out text
However, I am struggling to figure out a way to create a gui. I am aware of the python modules tk and tkinter and I have tried to use those with no success. I also saw the warning in the Google Cloud Console about how installed modules only exist for the current instance of the app - but even when installing the module directly before deploying the app - it still throws an import error.
I did some research and followed this guide: https://cloud.google.com/appengine/docs/standard/python/tools/using-libraries-python-27
Assuming I didn't miss any steps - would this guide solve my problem? Or is there a better way to create a GUI?
Any suggestions are encouraged. Thanks
App Engine is web oriented service. Read about it in the overview and the appropriate gui there would be a web based one.
If you want to have a remote server that will server graphical applications look closer at Google Cloud Compute Engine where you can have a VM instance, where you can install and run any application.
I have develop a simple app to learn Django rest framework and then uploaded it into Google app engine. But each time I try to access my data it shows me "no module name rest_framework". it works ok if I dont use Google App engine and stop working if I use (both local install or deploy the codes). I am using django 1.4 and using Cloud SQL. Can anyone please tell me what might be the problem?
regards
Samin
screenshot:
A bit late but might help someone else, I was also trying to get a solution for this error then I came across this link which has all the thirdparty apps, google app engine support. It doesn't have rest_framework.
So a as a solution you will have to copy the third-party library's pure-Python source code into your application's source code.
here is a solution in detail.
Hope that helps!
I have a requirement where I need to develop a Point of Sale system.
I want to know if it is possible to install that small point of sale app
on some machine without source code ?
Thanks for all suggestions.
I just thought I'd mention this for anybody that finds this question useful in the future.
There was a discussion about turning a Django webapp into a local app here:
https://groups.google.com/forum/#!topic/django-users/-VGqvHew35g
They provide some interesting solutions for converting the webapp into a local/desktop app.
Django is a web framework. There's no need to install any code on a client machine, since you would access it via a web browser.
I've been working on a existing project at a new company and one of the problems we're running into is Javascript code duplication. We're working in Google App Engine, and I have heard of the Django media generator asset manager which seems like it could solve some of our problems. However, after reading through the docs on that page and pages like this one on running Django in Google App Engine, I'm not sure if it is even possible to run django-mediagenerator on Google App engine.
Is it still possible to use django-mediagenerator on Google App Engine? Has the project gone stale? Is there some other media generator that I should be using in app engine?
Any help would be appreciated. Thanks :)
Django-mediagenerator is developed with app-engine in mind, as you can see in this blog post.
So : yes you can go with it ;-)
As an alternative I've had some success using webassets as an asset manager in Google App Engine, although because of the limitations of the production environment its a command line process before deployment.
There's a basic app engine example in the repository, so it's fairly quick to setup.
I am searching a django blogļ¼then I find byteflow is good choice.
But I would like to run it on google app engine. I think I can try the app-engine-patch.
Is it possible to do that? any comment is appreciated.