installing and running LC on 'headless' linux server
matthias_livecode_150811 at m-r-d.de
matthias_livecode_150811 at m-r-d.de
Sat Jan 30 17:20:21 EST 2021
Hi Ben,
Livecode Server can only execute Livecode script files, but it can make use of stackfiles if you want to use the stack as a library for example.
I am sorry, if i cannot explain it more detailed. Ask me in German and i could tell you what i really mean. ;)
But good example is this page here https://splash21.com/sQuiRt.php
The sQuiRt library, which is now included in Livecode as a livecodescript library , was a stack library at the beginning.
On this demo page a sample livecode server script is shown that uses a stackfile library to create QR codes and shows the QR Code then in the browser.
And here's the script in action
http://splash21.on-rev.com/index.lc <http://splash21.on-rev.com/index.lc>
Regards,
Matthias
-
Matthias Rebbe
Life Is Too Short For Boring Code
> Am 30.01.2021 um 17:34 schrieb Ben Rubinstein via use-livecode <use-livecode at lists.runrev.com>:
>
> Hi Matthias,
>
> Thanks for answering.
>
> I haven't looked into Livecode Server. When you say I could run livecode scripts directly from shell, does that means scripts, but not stacks?
>
> Is Livecode Server easier to install on a 'headless' system? Is there somewhere I should look to find explanation of differences/pros/cons of Server versus IDE editions?
>
> thank you,
>
> Ben
>
> On 29/01/2021 20:30, matthias rebbe via use-livecode wrote:
>> Ben,
>> is there a reason why you do not install/use Livecode Server instead of Livecode IDE on your system?
>> You could run livecode scripts directly from shell.
>> Regards,
>> Matthias
>> -
>> Matthias Rebbe
>> Life Is Too Short For Boring Code
>>> Am 29.01.2021 um 19:44 schrieb Ben Rubinstein via use-livecode <use-livecode at lists.runrev.com>:
>>>
>>> So I want to install LC on a headless - i.e. no GUI, access over SSH - Ubuntu 20.
>>>
>>> (Then I'll be using it to run a particular stack on a cron job.)
>>>
>>> I've done this a long time ago with a standalone - but in this case I'd rather be able to do it with a stack.
>>>
>>> The only thing that I know about is "-ui" but I'm not even far enough along to make use of this.
>>>
>>> My first question is what's the best way to install it? Do I download the installer, e.g. "LiveCodeCommunityInstaller-9_6_1-Linux.x64", move it to the server and run it there? Or is that going to be a GUI installer?
>>>
>>> Are there options I need to know about like where it should go?
>>>
>>> And then are there tips about where I put my stacks, how to see error or debugging output, how the stack reads command line parameters etc?
>>>
>>> Any and all advice welcome - especially of course "go and read this guide over here you idiot".
>>>
>>> TIA,
>>>
>>> Ben
>>>
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list