Forum /
Sencha Architect Forums 2.x /
Sencha Architect 2.x: Help & Discussions /
Build Your First Desktop Application - Then Deploy to GoDaddy
Build Your First Desktop Application - Then Deploy to GoDaddy
Okay - probably because I'm a Newbie... but I've built the "Build Your First Desktop Application" deployed to a local directory (CarStoreWeb) as show below then copied all of that to my web hosting site (http://www.lakeridgesolutions.com/CarStoreWeb/app.html ). The app runs but no data ever appears. Maybe a GoDaddy setting or is it just a newbie thing?
Thanks
===================================================================================
Directory of C:\inetpub\wwwroot\CarStoreWeb
04/19/2012 03:32 PM <DIR> .
04/19/2012 03:32 PM <DIR> ..
04/19/2012 03:32 PM <DIR> app
04/18/2012 11:56 AM 577 app.html
04/18/2012 02:38 PM 876 app.js
04/19/2012 03:31 PM 2,662 CarStore1.xds
04/19/2012 03:32 PM <DIR> data
3 File(s) 4,115 bytes
Directory of C:\inetpub\wwwroot\CarStoreWeb\app
04/19/2012 03:32 PM <DIR> .
04/19/2012 03:32 PM <DIR> ..
04/19/2012 03:32 PM <DIR> controller
04/19/2012 03:32 PM <DIR> model
04/19/2012 03:32 PM <DIR> store
04/19/2012 03:32 PM <DIR> view
0 File(s) 0 bytes
Directory of C:\inetpub\wwwroot\CarStoreWeb\app\controller
04/19/2012 03:32 PM <DIR> .
04/19/2012 03:32 PM <DIR> ..
04/18/2012 02:39 PM 1,218 MyController.js
1 File(s) 1,218 bytes
Directory of C:\inetpub\wwwroot\CarStoreWeb\app\model
04/19/2012 03:32 PM <DIR> .
04/19/2012 03:32 PM <DIR> ..
04/18/2012 02:19 PM 787 CarChartModel.js
04/18/2012 02:19 PM 1,077 CarDataModel.js
2 File(s) 1,864 bytes
Directory of C:\inetpub\wwwroot\CarStoreWeb\app\store
04/19/2012 03:32 PM <DIR> .
04/19/2012 03:32 PM <DIR> ..
04/18/2012 02:26 PM 1,058 CarChartJson.js
04/18/2012 02:19 PM 1,157 CarDataJson.js
2 File(s) 2,215 bytes
Directory of C:\inetpub\wwwroot\CarStoreWeb\app\view
04/19/2012 03:32 PM <DIR> .
04/19/2012 03:32 PM <DIR> ..
04/18/2012 05:11 PM 5,369 CarListings.js
04/18/2012 01:46 PM 698 Viewport.js
2 File(s) 6,067 bytes
Directory of C:\inetpub\wwwroot\CarStoreWeb\data
04/19/2012 03:32 PM <DIR> .
04/19/2012 03:32 PM <DIR> ..
01/28/2012 04:28 PM 31,607 2004_Porsche_911_Carrera_type_997.jpg
01/28/2012 04:28 PM 11,000 250px-2007_Audi_TT_Coupe.jpg
01/28/2012 04:28 PM 13,275 250px-Audi_S5.jpg
01/28/2012 04:28 PM 14,354 250px-BMW_M3_E92.jpg
01/28/2012 04:28 PM 11,153 250px-Nissan_GT-R.jpg
01/28/2012 04:28 PM 1,933 cars.json
6 File(s) 83,322 byte
GoDaddy won't serve up a .json file (for cars.json) - you can try changing the extension to .js or .txt
Ext JS Premium Member
Modify your GoDaddy mime types
Modify your GoDaddy mime types
You might have to add .json to your hosting mime types.
Windows Hosting:
http://support.godaddy.com/help/6286?locale=en
Linux Hosting:
http://support.godaddy.com/help/article/375
Hope that helps
Thanks corcoranp - you hit the nail on the head.
Once I modified my web.config file on GoDaddy everything worked great. Here is what I added in <system.webServer>
<staticContent>
<remove fileExtension=".json" />
<mimeMap fileExtension=".json" mimeType="application/x-javascript" />
</staticContent>
Hope this helps others.
Deploy to GoDaddy Unsuccessful
Deploy to GoDaddy Unsuccessful
Hello,
I had a similar issue while deploying the Sencha Touch 2.1.1 examples to GoDaddy. The pages work perfectly on localhost after modifying web.config as described in the above thread. However, when deployed on GoDaddy.com, it redirects from the home page to "touch-2.1.1/examples/index.html", which renders as a blank page. All the other examples also render as blank pages.
Any insight would be greatly appreciated.
Regards,
vijaybala
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us