Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 44    Views: 117

Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
08/20/12 01:07 PM (11 years ago)

Move app from Buzztouch.com to my own server?

Hi All, I named the last forum post imcorrectly, so I am posting my question again. Is it possible to move a BT2.0 app from Buzztouch.com to my own BT server? Thanks, Jake
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
08/20/12 01:53 PM (11 years ago)
Yes & No There's no way to export a Buzztouch.com app to Self Hosted. But, you can copy the Buzztouch.com App's Config data and use it in your self hosted app. Some modifications to the Config data well be required. Fred
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
08/20/12 01:55 PM (11 years ago)
Do you have a guide? Is it possible for you to help me? Thanks, Jake
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
08/20/12 02:18 PM (11 years ago)
Copy Config file from Buzztouch.com control panel and paste into BT_config.txt file in source code. Remove the reportToCloudURL & the "dataURL": This will take app offline. If you've used individual screen data URLs you can leave "as is" (app will draw from both Control Panels) Or duplicate the screen in the new control panel. And grab the appropriate JSON data and replace the data in the Config file. This will take those screens Online. If you replace the reportToCloudURL & the "dataURL": instead of removing them you can have a Online app. Just use the reportToCloudURL from the self hosted panel and a Secondary Online Config file for the "dataURL": There's not yet a known method to upload the Config file JSON data to a new control panel. Fred
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
08/20/12 02:30 PM (11 years ago)
So, how would I pull the Report to Cloud URL data off of Buzztouch.com?
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
08/20/12 02:32 PM (11 years ago)
You dont pull them, you replace them. Open up the Config file and take a look. Fred
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
08/20/12 02:34 PM (11 years ago)
But, what is the Cloud URL?
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
08/20/12 02:41 PM (11 years ago)
Keep in mind, Jake, that with this method, you won't be able to make changes to the app in your control panel. If you add any screens, you'll have to copy-paste config data for those screens into the configuration data file for your app. There is no way to import your current screens into the self-hosted server for management of those screens in your control panel. That's very important to understand before you head down this road. Mark
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
08/20/12 02:42 PM (11 years ago)
So then is V2.0 like 1.4 and 1.5, when BT2.1 comes out, I will have to rebuild all of my apps?
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
08/20/12 02:46 PM (11 years ago)
There wont be a BTv2.1, that's why BTv1.5 was left behind, "too stop the insanity of BTv1.4, BTv1.5, BTv1.6, . . ." Fred
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
08/20/12 02:47 PM (11 years ago)
So, would it be possible to replace the BT_config file on my BT_server with the one from the Buzztouch.com server. and do the same for the Cloud Data URL?
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
08/20/12 02:49 PM (11 years ago)
No. You won't have to build your app again in a BT v2.x server. There may be a v2.1, but it likely won't require you to rebuild your apps. The move from BT v1.x to BT2.x was a major revision, and is the framework for buzztouch going forward. Mark
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
08/20/12 02:50 PM (11 years ago)
The reportToClourdURL is what tells the app that there is a config file update. Fred
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
08/20/12 02:51 PM (11 years ago)
So where are the individual screen data URLs. For example, where is the url that would tell the app what text to display in the Custom HTML/Text Plugin?
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
08/20/12 02:52 PM (11 years ago)
With respect to your question on replacing the BT_Config file, I don't think you can just do that. Remember that there is a whole database structure in your BT Server behind each app. If it were as simple as replacing the config file, it'd have already been documented in a video by me! ;-) Short answer here is that there is no way to migrate an app from buzztouch.com to your self-hosted server AND be able to control that app in your control panel. Mark
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
08/20/12 02:55 PM (11 years ago)
So, would it be possible to replace the BT_config file on my BT_server with the one from the Buzztouch.com server No, because the JSON data is not on the Server. . and do the same for the Cloud Data URL? the reportToCloudURL from the self hosted server can be used to tell the app to update. But the Online dataURL will need to point to a secondary Config file that you edit. Fred
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
08/20/12 02:56 PM (11 years ago)
I had an idea...to obtain the folder of my app from buzztouch that may reside in the file structure localhost/files/applications/YOUR-APP-ID-NUMBER. Then place this folder in my BT_servers .../files/applications/ folder. Would this work? Jake
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
08/20/12 02:58 PM (11 years ago)
Give it a try and see what happens! It's all experimental at this point. But don't forget about the database and all that it contains. Mark
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
08/20/12 02:59 PM (11 years ago)
"AND be able to control that app in your control panel." That 's a matter of interpertation. You can "Control" when to update. You can recreate just a few screens and use the JSON data in the new edited app. But you can't import all of the JSON data (yet). Fred
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
08/20/12 03:00 PM (11 years ago)
Do you think that it will ever be able to be done easily?
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
08/20/12 03:02 PM (11 years ago)
Certainly you can use the contents of the file, be sure to replace the other core JSON data, but this still wont put the JSON data in the control panel. Fred
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
08/20/12 03:03 PM (11 years ago)
I think it's pretty clear what I meant by control the app. Eventually the guys at buzztouch will come up with a migration scheme. But they're focused on things like getting plugin equivalency between v1.5 and v2.0, and getting the Plugin Market going. Both high priority, in my book! Mark
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
08/20/12 03:04 PM (11 years ago)
But there has to be a way...is Buzztouch.com hosted on a BT_server?
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
08/20/12 03:07 PM (11 years ago)
Yes. The same software that runs your self-hosted BT Server is the same software that buzztouch.com runs (plus or minus a few tweaks). There is a way...it's just not been developed yet! Mark
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
08/20/12 03:16 PM (11 years ago)
Take some time to peruse the database attached to your self-hosted BT server, and you'll understand why this is more complicated than it appears. Mark
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
08/20/12 03:16 PM (11 years ago)
Do you think they will announce this feature when it becomes available?
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
08/20/12 03:19 PM (11 years ago)
Absolutely. But I wouldn't count on it before the end of the year, judging by the other things they are working on.
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
08/20/12 03:22 PM (11 years ago)
But with the plugin market, will you be able to upload BuzzTouch Mods plugins to a buzztouch.com account?
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
08/20/12 03:24 PM (11 years ago)
I understand what you meant, but technically it's not correct withour a bit of interpertation. Yes, you can "Control" but what you control is limited. Fred
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
08/20/12 03:27 PM (11 years ago)
But, if all web sites are files...and BT is a web-based app development...shouldn't all of the app files reside on some computer/server, and if you transfer the files to another machine, and modify the URLs, that the app should show up under another control panel?
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
08/20/12 03:29 PM (11 years ago)
I think buzztouchMods will do thar, but I would like for them to announce that. Fred
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
08/20/12 03:31 PM (11 years ago)
I might be mistaken...but wasn't this part of the initial plan of BT2.0?
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
08/20/12 03:31 PM (11 years ago)
It's not that difficult from a technology perspective, but from a logistics perspective I'm sure it is a nightmare. Fred
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
08/20/12 03:32 PM (11 years ago)
But is it possible to download the files from BTs servers?
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
08/20/12 03:36 PM (11 years ago)
Yes, but think of the possible security problems if they gave us access before the techniqe was perfected. Fred
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
08/20/12 03:38 PM (11 years ago)
But if we could find a way through the BT_config.txt file, we could upload our apps to our BT_servers. So does the BT_config.txt file store the URLs to the data behind plugins like Custom HTML/Text
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
08/20/12 03:39 PM (11 years ago)
It does. Fred
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
08/20/12 03:40 PM (11 years ago)
So, is it possible to upload this file to our own PHPmyAdmin servers?
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
08/20/12 03:44 PM (11 years ago)
Now is it possible to upload the Config file Yes, but how to is the question. Fred
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
08/20/12 03:46 PM (11 years ago)
Where is it stored in BT_server?
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
08/23/12 01:13 AM (11 years ago)
Hey Jake, This might of interest to you: https://www.buzztouchmods.com/forum/viewthread.php?thread_id=8 Cheers, David buzztouchmods.com
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
08/23/12 06:41 AM (11 years ago)
@MrDavid: Does your service offer migration of apps to the new BT Server? Thanks, Jake
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
08/23/12 06:53 AM (11 years ago)
Hi Jake, Currently no, you will have to re-create your app on your new server. Cheers, David buzztouchmods.com
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
08/23/12 06:54 AM (11 years ago)
Also, have you had any problems saving changes to menu items in V2.0?
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
08/23/12 08:03 AM (11 years ago)
No problems like that :) Cheers, David buzztouchmods.com
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.