How Do I Put My First App On the Web - LC 10 and later


This article applies to Web Apps built with LiveCode 10 dp-1 and above. If you are using an older version of LiveCode please see this article instead. To build your Web App you simply build your app in LiveCode like any other app, then when you are ready to deploy, you choose "Build for HTML5" in the standalone builder. This lesson steps you through the build process to get your app onto the web. To do this you need to have a purchased license for LiveCode Web.

Create Your App

First you need to create an app. For this tutorial I'm going to use a Hello World app I've made previously. It's a very simple app, which allows you to click a button and display the message "Hello". You can download the stack if you want to use it to test from this url:

Open the Standalone Builder

Open the Standalone builder from the File menu.

Select Build for HTML5

In the standalone builder, click on HTML5 (1) and then check the box Build for HTML5 (2)

Save the Standalone

Select Save as Standalone Application from the File menu, and choose a location to save the files to. A dialog will appear asking you to save the application. Click Save. You should see some dialogs informing you of the progress of the build. If you only have a license for HTML5, you may see a message telling you that the app was not built for Mac, Windows or Linux.

Your HTML5 Output

You should now see in your folder, a new folder containing 4 files. These are

  1. an html file intended for quick testing of your build
  2. .js file which is the actual engine for running the app
  3. .wasm file containing data to run your app
  4. which contains your app, any resources it needs and a virtual file structure for running in the browser.

Test Your App

For a quick test of your app, use the Test button inside LiveCode. First go to the Development menu and ensure you have selected a Test Target:

 Note: in 10 dp-1 you must select Default Browser. In future releases you will be able to correctly select your desired browser from the list.

Once you have selected a browser, click the Test button:

After a brief pause you should see the app running in your browser, and if you click the button it will say "Localhost says Hello!".

Putting it on the web

So far so good, but your app is still running from your desktop. Lets fix that. For the next step you need a hosting account to upload your app to - I'm using our own LiveCode Hosting site, but you can upload to any regular hosting account. First, I'm going to create a new folder on my server, named Poster_Child2. Into this folder I'm uploading the files created by the Standalone Builder:

This is what it should look like:


  Now all you have to do is go to the correct url to see your app running on the web.

Test Your App in the Browser

Now go to the url you have uploaded your file to, in my case this is Wait for a moment or two while the engine loads - you won't see anything as we haven't added any feedback to tell us what is happening. After a few seconds, you should see this:

And if you click the button, you should get a dialog that says "Hello". Congratulations, you've uploaded your first LiveCode Web App.



thanks for the introdcution. I habe sucessfully created some stacks in LC10, but now I have some questions:

1. How to get rid of the Livecode Button upper left and the checkboxes on the upper rioght side?

2. Why did "put url theWebAdress into field 1" does not work in the browser?


Panos Merakos

Hello Torsten,

1. You can customise the html output, by editing the template html here:

/Applications/LiveCode 10.0.0 (dp 1).app/Contents/Tools/Runtime/Emscripten/wasm/standalone-10.0.0-dp-1.html

For example, you can remove the LiveCode logo by deleting the whole

Similarly, to remove the various checkboxes at the top right you can delete these tags:

Resize canvas

Lock/hide mouse pointer

You get the idea.

2. Currently it seems that the inclusion of the Internet library breaks the URL calls (including put url ...). It might be worth trying without the Internet library inclusion, but this issue will be fixed in next releases of LC 10.



Manually selecting inclusion and then de-checking internet library does not change the behavior :-/
When will the next release be available?


Matthias Rebbe

Thorsten, 'put url' currently doesn't seem to work. There is already a report for this.
You could add your email address to the CC list of that report to be informed about the status.

Add your comment

E-Mail me when someone replies to this comment

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.