I have upgraded Squidb to 2.0. Now when I try to create the object, it doesn't create the database.
Do I need to call any method? My understanding was that on Object create, it creates a db.
Please suggest.
Thanks,
Related
Currently I have a Django application running on my personal website from PythonAnywhere.com. When I make updates to the site I login to PythonAnywhere and git pull to update my application. When I do this the data that was entered through the website since the last update gets lost from the database when I update. What can I do to overcome this?
I am currently using the SqlLite version that comes preinstalled with the Django App. This likely could be part of the issue but need some help understanding how to overcome it.
I presume that your Django project is connecting to the SQLite database that gets generated when you create a new project and you are pushing that database in your deployment. That database won't be suitable for production and won't retain your changes, you instead need to setup a database that your application can connect to.
Here is some information on PythonAnywhere about databases:
https://help.pythonanywhere.com/pages/KindsOfDatabases/
And the Django documentation:
https://docs.djangoproject.com/en/4.0/ref/databases/
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
I am upgrading my app from Ember 1.10 to 2.2. I have used store in 1.10 and is working fine there, but when I try to copy that in 2.2, it gives me error because of store. Is there a specific way to initialize the store as I am not able to get the store all the time. In some controllers, not all the data of the store is available. Please help
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).
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