What the easiest way to create MySQL db for Django in Azure without using ClearDB? - django

I am trying to create django project with MySQL db in Azure. Here is tutorial how to do it: http://azure.microsoft.com/en-us/documentation/articles/web-sites-python-ptvs-django-mysql/#create-a-mysql-database . It says I should use ClearDB or create Virtual Machine and install and administer MySQL. Please advise tutorial or tell in a nutshell how to go second way (or some else way).

Related

Azure hosting from Pycharm

I want to try and push my django app to Azure, has anyone done this? I am using MySQL for the database but can only find POSTGRESQL as a WebApp. Does anyone have any suggestions??
yeah, search for mysql and you will find it:

Integration of cloudant with django

I am new to cloudantdb and django. Is there any way to integrate cloudantdb with danjgo framework. Is it possible to connect cloudant with django?
As you may be aware, Cloudant is built on Apache CouchDB, so if you can't find references for Cloudant, it's usually worth also searching for CouchDB. I don't really use Django, but a quick search throws up the following references:
http://leok.me/2013/05/02/what-you-need-to-know-couchdb-django/
https://lethain.com/an-introduction-to-using-couchdb-with-django/
http://eflorenzano.com/blog/2008/11/10/using-couchdb-django/
https://djangopackages.org/grids/g/couchdb/
Most if not all solutions on the web are very outdated.
The solution used by IBM in a capstone project on Coursera was:
Use SQLite backend in your Django app
Create Cloud Functions for communicating with Cloudant
Create REST API definitions in your Django app that utilize the Cloud Functions to communicate with Cloudant
I don't know if it's the best solution, but it works. I do feel like SQLite is redundant at this point but without it, I couldn't get the app to work.

I am using the python django, and i wanted to know to get use thingsboard dashboard, and database as postgresql

I am using the Python3, Django and database as Postgresql, and I wanted to use the Thingsboard dashboard in my web application. can anyone pls guide me how can I use this
ThingsBoard has APIs which you can use. You may also customise it based on your requirements.
Go to THINGSBOARD_URL/swagger-ui.html get the list of all available REST APIs and use it as per your requirements. http://localhost:8080/swagger-ui.html

Deploy Django project on Google App Engine

I have developed one example project in django1.4 & python 2.7, I want to deploy it on google app engine,
but how to configure my project as per App Engine we didn't get.
We have a site running on google app engine, but it is including with all html,js.
How do we configure a database on google app engine to deploy our django project?
Possibly the best option is to use Django Non-Rel. It's the only way (that I know of) to use the Django ORM (the django database interface) on Google App Engine without using Google's costly cloud SQL service. To do this, you'll need to use a customized version of Django and import several more libraries. It's a small project to get it up and running, but it's worth the effort. More information can be found on this website:
http://django-nonrel.org/
Note, that even though django-nonrel allows you to use the Django database interface, it will not allow you to use certain SQL features, such as joins. If you need joins, then your best option would be to use Google App Engine + Google Cloud SQL. Documentation for that is here.
Regarding the comments:
Yes, it can run on windows, I run it on Windows.
Also, the site allbuttonspressed.com is old and out of date, use the
one above for information.

Using Web Services with Database Mysql in java

can any one please tell me how i can use Mysql with web services . i want to save and retrieve data from mysql. please suggest any good tutorial for that .
You haven't specified a platform, so I suppose that is open for you? That is a very broad question as well.
This is an excellent tutorial which should get you quickly started, step by step, using Glassfish (free from Sun/Oracle), Java, and MySQL to build web services to query the database (which is exactly what you asked for):
http://java.sun.com/developer/technicalArticles/glassfish/GFandMySQL_Part3.html
Good luck and have fun!