Azure hosting from Pycharm - django

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:

Related

How to view django database on sqliteonline

I want my database deployed on sqliteonline instead of django admin but i am stuck at how to do that. Thanks in advance. It will be of much help!
I hope you are keeping well.
I believe from my understanding that you are misinterpreting what SQLITEONLINE is. It is simply a web-based database IDE.
If you want to host your database remotely for Django, I would recommend changing from the Django default of sqlite as this is a database designed for local storage and not remote connectivity.
To change your database to a remote one, you could go to a SQL database and connect remotely by adjusting the settings in your settings.py file. See Django's documentation on the topic here.

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

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

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).

haystack and google appengine

I developed an app in Django, mainly for educactional purposes, and I want to host it on GAE. The app uses MySql and Haystack/Whoosh. I'm following this django-nonrel guide, but I'm not sure if Haystack/Whoosh will work on the NoSQL from GAE. Any ideas?
It's possible to use Haystack on GAE, but you can't use whoosh as the search backend. Instead, you'll need to use a hosted Solr or ElasticSearch as a backend search server. Try searchbox.io, they tell you how to get it working with Haystack here.
I don't know about haystack on appengine but there is a nonrel-search which I is designed to work on appengine and NoSQL databases.
Also I don't think GAE supports reletional database like Mysql.
Whoosh is a file-based search backend so as long as you have write access to a directory then you should be able to use it.
You need to configure the directory of the search index in your Django application and run the appropriate command (./manage.py rebuild_index or ./manage.py update_index) to build the search index into that directory.

How make [Web Forms for Marketers] module works when using Sitecore Azure?

Recently, i am working on a project using Sitecore Azure.
when creating a web form, we use Web Forms for Marketers module provided by Sitecore.
It works fine in local environment. but when we publish it to Azure. it dose not work.
Because there is no database for web form in Azure.
Has anyone experienced this before, maybe you guys can help me. Thanks
Finally, i get it down.
first, you need to create a same database for WFFM as the local one Sitecore_WebForms in SQL Azure.
Here is a link tells you how to do it.
second, change the connection string in forms.config to point to the database in sql azure.
here is a example.
<formsDataProvider type="Sitecore.Forms.Data.DataProviders.WFMDataProvider,Sitecore.Forms.Core">
<param desc="connection string">Database=Sitecore_WebForms;Data Source=tcp:YOURSERVERNAME.database.windows.net,1433;user id=YOURID;password=YOURPASSWORD;Connect Timeout=60</param>
</formsDataProvider>
This is how i fix it. Hope it helps if anyone has the same problem.
Only Web Forms for Marketers (WFFM) 2.4 or higher is compatible with Sitecore Azure module. Additionally, you must use SQL Server version of WFFM database, which must be shared between all WebRole Instances. Please check the details here: https://kb.sitecore.net/articles/880886
How to add WFFM database in Sitecore Azure and automatically deploy it with entire Sitecore solution read in the following article: https://kb.sitecore.net/articles/179306
Best Wishes, Oleg