I would like to use LiveCode to generate HTML5 - SOLVED

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
DR White
Posts: 718
Joined: Fri Aug 23, 2013 12:29 pm

I would like to use LiveCode to generate HTML5 - SOLVED

Post by DR White » Thu Jan 21, 2016 12:34 pm

I have been learning LiveCode for almost 3 years

Computer: MacBook pro
Operating system: OS X 10.10.5
Apache Verson: 2.4

I have had a commercial license for the first 2 years and now have a Indy license with server for the next 2 years.

LiveCode has been an Awesome program development software for me over the last 3 years
I have one app that has over 50,000 downloads from the Google Play Store and another one that has over 25,000 downloads (both are free). I could not have done it without the GREAT LiveCode’s support. Their support was LiveCode’s greatest strength, as they continued to make dramatic improvements (changes) in the programming software, their documentation was often lagging. But, this was offset by the great support on the LiveCode Forum.

With the announcement a couple of months ago, that LiveCode 7 would no longer be supported and that their focus would be on Livecode 8 (which I understand), I have noticed significantly less effective replies to my programming problems on the forum. I know that they are not making a lot of money and I fear that they have cut back their support.

I know that the future of apps are going to be cloud based and since January 14, 2016, I have been trying very hard to get my localhost on my computer using Apache to work with LiveCode server, without success (Dead in the Water - Need Apache to work on Mac). I have watched the “How to – LiveCode Server Tasks, Apache Setup” at least 30 times. I watched several youtube videos on Apache .conf files. At this point, I am 99% sure that the information provide on the “How to – LiveCode Server Tasks, Apache Setup” is outdated.

I am excited about using LiveCode to generate HTML5, but I am currently very frustrated and disappointed with the support that I have gotten to be able to explore this new area.

Please, If anybody using OS X 10.10.5 and Apache Version 2.4 has successfully gotten the LiveCode-Server and Apache 2.4 to work, PLEASE share your Apache .conf files.

This is my last attempt to explore LiveCode Server and LiveCode HTML programming.

Thanks,

David
Last edited by DR White on Thu Jan 21, 2016 8:35 pm, edited 1 time in total.

LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: I would like to use LiveCode to generate HTML5

Post by LCNeil » Thu Jan 21, 2016 12:55 pm

Hi David,

Have you tried giving MAMP a go when setting up a local server?

https://www.mamp.info/en/

This sets up Apache, MySQL and PHP with pretty much one click and I find it a much more pleasant experience compared to doing it all manually.

Once this is setup, I added a LiveCode server directory to the CGI-BIN folder of MAMP and simply edited the httpd.conf file, located within the Apache conf directory of MAMP with the required LiveCode server entry-

Code: Select all

AddHandler livecode-script .lc
Action livecode-script /cgi-bin/LiveCodeCommunityServer-7_0_6_rc_1-Mac/livecode-community-server
I then start the server and can execute LiveCode server scripts.

Please see below images of a test script running.

Screen Shot 2016-01-21 at 11.52.11.png
Screen Shot 2016-01-21 at 11.52.21.png

I've also included my httpd.conf file for reference.


Kind Regards,

Neil Roger
--
LiveCode Support Team ~ http://www.livecode.com
--
Attachments
httpd.conf.zip
(6.9 KiB) Downloaded 224 times

DR White
Posts: 718
Joined: Fri Aug 23, 2013 12:29 pm

Re: I would like to use LiveCode to generate HTML5

Post by DR White » Thu Jan 21, 2016 8:34 pm

PRAISE THE LORD!!!!

My local server is up and running LC!!

LCNeal,

WOW!!

Thank you for ending so many days and nights of pain and anguish.

I strongly suggest anyone that is not familiar with setting up a server, to use MAMP and Neal's suggestions.

Thanks again so MUCH,

David

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10331
Joined: Wed May 06, 2009 2:28 pm

Re: I would like to use LiveCode to generate HTML5 - SOLVED

Post by dunbarx » Fri Jan 22, 2016 2:55 am

Glad that all worked out. I will, one day, try to make a web based LC app.

But more importantly, the heart of Dave's post was that he was near to abandoning LC altogether out of frustration. This is frightening. We should make sure that "no soldier left behind" is promised to all. But I wonder how many do go away, having never asked for help, or worse, not knowing help was available.

Craig Newman

Post Reply