Testing and Deploying: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
The easiest way to test your app is in your desktop browser. Use “Start in Desktop Browser” under the File menu. It will run in your default browser, which should support WebKit. At this time, Chrome and Safari support WebKit. <br />
The easiest way to test your app is in your desktop browser. Use “Start in Desktop Browser” under the File menu. It will run in your default browser, which should support WebKit. At this time, Chrome and Safari support WebKit.  
You can debug your program using the desktop browser. For more information, see Tutorial 10, “Using the Chrome Debugger”. <br />
 
Once your program runs well in the desktop browser, you can deploy it to a server. Devices can then load your program from that server. <br />
You can debug your program using the desktop browser. For more information, see Tutorial 10, “Using the Chrome Debugger”.  
 
Once your program runs well in the desktop browser, you can deploy it to a server. Devices can then load your program from that server.  
 
 
'''Deploying'''
 
App Studio provides a server for testing apps, called the NSB/App Server. When you choose Deploy from the menu, your program and any files listed on the manifest are copied to the server. When the upload is complete, the IDE will give you the URL to open the app from.
 
The first time the app is run on the device, the files on the manifest are copied to the device. Your app can then be run locally, without an internet connection.
 
If you change your program and upload it again, there is a pause while the files are moved into place on the NSB/App Server.
 
The next time you run the program (or refresh), the device runs its current version from memory while it gets the latest manifest from the server. It compares them: if the manifest has changed, it then downloads the whole application again and saves it to the device. Once this is complete, the new version of the app will run next time you do a refresh.


'''Deploying''' <br />
App Studio provides a server for testing apps, called the NSB/App Server. When you choose Deploy from the menu, your program and any files listed on the manifest are copied to the server. When the upload is complete, the IDE will give you the URL to open the app from. <br />
The first time the app is run on the device, the files on the manifest are copied to the device. Your app can then be run locally, without an internet connection. <br />
If you change your program and upload it again, there is a pause while the files are moved into place on the NSB/App Server. <br />
The next time you run the program (or refresh), the device runs its current version from memory while it gets the latest manifest from the server. It compares them: if the manifest has changed, it then downloads the whole application again and saves it to the device. Once this is complete, the new version of the app will run next time you do a refresh. <br />
For more information, see [[Distributing_your_App|Tech Note 05, “Distributing your App”]].
For more information, see [[Distributing_your_App|Tech Note 05, “Distributing your App”]].

Revision as of 10:04, 3 December 2012

The easiest way to test your app is in your desktop browser. Use “Start in Desktop Browser” under the File menu. It will run in your default browser, which should support WebKit. At this time, Chrome and Safari support WebKit.

You can debug your program using the desktop browser. For more information, see Tutorial 10, “Using the Chrome Debugger”.

Once your program runs well in the desktop browser, you can deploy it to a server. Devices can then load your program from that server.


Deploying

App Studio provides a server for testing apps, called the NSB/App Server. When you choose Deploy from the menu, your program and any files listed on the manifest are copied to the server. When the upload is complete, the IDE will give you the URL to open the app from.

The first time the app is run on the device, the files on the manifest are copied to the device. Your app can then be run locally, without an internet connection.

If you change your program and upload it again, there is a pause while the files are moved into place on the NSB/App Server.

The next time you run the program (or refresh), the device runs its current version from memory while it gets the latest manifest from the server. It compares them: if the manifest has changed, it then downloads the whole application again and saves it to the device. Once this is complete, the new version of the app will run next time you do a refresh.

For more information, see Tech Note 05, “Distributing your App”.