getting started

Bringing the internet highway into your project? Building FTP, HTTP, email, chat or other client solutions?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Preston Shea
Posts: 73
Joined: Sat Apr 08, 2006 6:51 pm

getting started

Post by Preston Shea » Fri Nov 26, 2010 2:04 pm

I have been using LiveCode for some years and am thinking of adding the web deployment capability package. I have a website on which I would like to run a rather basic standalone. Where can I find some beginner's information on what I would do to my existing code to be able to deploy to the web using the add-on package?
In nova fert animus mutatas dicere formas corpora.

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: getting started

Post by Mark » Sun Nov 28, 2010 2:39 am

Hi Preston,

Save your stack as a revlet and see if it works :-) If it doesn't, make sure to have a way to trace the errors.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Preston Shea
Posts: 73
Joined: Sat Apr 08, 2006 6:51 pm

Re: getting started

Post by Preston Shea » Sun Nov 28, 2010 10:25 pm

Thank you for the information. Am I correct that what I need to do in order to run my standalone from my website is
(1) acquire the web add-on for LiveCode
(2) use it to create a standalone for the Web
(3) upload via FTP

In order to use the standalone users must download the browser plug-in and add it to their Web browser.

Is this correct?

Thanks again
In nova fert animus mutatas dicere formas corpora.

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: getting started

Post by Mark » Sun Nov 28, 2010 10:57 pm

Hi Preson,

Nope. You do need the RevWeb plugin, but you need this to open your revlet in the browser only. You don't need it to create your revlet.

When you save your revlet, you get a file test.html. Open this file in your browser and the revlet should load. This allows you to test, without uploading to a server.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Preston Shea
Posts: 73
Joined: Sat Apr 08, 2006 6:51 pm

Re: getting started

Post by Preston Shea » Sun Feb 06, 2011 4:58 pm

I have saved my stack as a standalone for the Web. It produced a test page which works fine. The .exe in the Windows sub-folder works fine. GREAT!

Now here's my (dumb) question:

What do I upload to my website? Is there a special place (like the FTP folder) where the stuff goes? How do I put the link or whatever that will run the standalone in the user's browser on one of my HTML pages?

Am I correct that to view the content, users first need to go to RunRev and install the browser plug-in?
In nova fert animus mutatas dicere formas corpora.

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: getting started

Post by Mark » Sun Feb 06, 2011 5:06 pm

Preston,

For a start, upload the file text.html and the file YourStack.revlet. Any location in the public directory on your server will do. The .exe has nothing to do with it.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Preston Shea
Posts: 73
Joined: Sat Apr 08, 2006 6:51 pm

Re: getting started

Post by Preston Shea » Sun Feb 06, 2011 5:45 pm

Great! Got it. Thanks so much.
Preston
In nova fert animus mutatas dicere formas corpora.

Post Reply