Hi, Tiggzi team.
If I export a current project as HTML5 app, can (how can) I still keep:
(1) the HTML5 app be hosted by Tiggzi
(2) or I host the HTML5 app on my own server, the components that use Tiggzi Database be unaffected?
Thx in advance!
Hi, Tiggzi team.
If I export a current project as HTML5 app, can (how can) I still keep:
(1) the HTML5 app be hosted by Tiggzi
(2) or I host the HTML5 app on my own server, the components that use Tiggzi Database be unaffected?
Thx in advance!
Hello! If I understand you correctly:
1) After you export your app as HTML5 app - you'll get a ZIP folder, it doesn't have any affect on hosting
2) If you host your app on your server - it doesn't have any affect on Tiggzi Database
Thanks for replying,Marina.
I put it this way. As per (2), say I put it on my desktop pc, run it as on local server, it is not connected to the Tiggzi Database anymore.
In that case, how can I keep the app as it is still running on the Tiggzi server?
Thx!
No matter where you publish your app (on tiggzi.net or using your server) - it's still connected to Tiggzi Database.
If you have any problem with Database in published app - please check is there any JS error in console
This is where my question lies. I tried run it locally on desktop - no server was needed as it's all just client-side JS and HTML under the hood.
Now, I even turned off internet connection. Everything worked like it had been, even the function to put new records in the Tiggzi Database, apparently.
Surely, however, it could not have had access to the database as it was offline. This has been what puzzled me.
This is where my question lies:
How is it connected to Tiggzi database once the app is exported?
I tried run it locally on desktop - no server was needed as it's all just client-side JS and HTML under the hood. Surely, however, it could not have had access to the database as it was offline. This has been what puzzled me.
Thx!
Hello!
Despite the fact that your project is exported, all services access the database still refer to the base.
It happens because database_url = https://api.tiggzi.com/rest/1/db
Doesn't matter whether you use the local machine or not - app still refers to this address.
I see. Thx!
If the app. is hosted by myself, what is the requirement of the web server? Red Hat linux server and apache are good enough?
The options you mention will work. As you export an HTML5/JS app, you only need to host the files (just basic web hosting). You could also with with just Apache server or similar.