LiveCode Server Under MAMP
matthias_livecode_150811 at m-r-d.de
matthias_livecode_150811 at m-r-d.de
Wed May 27 12:13:07 EDT 2020
Håkan,
would you mind if i take your steps and create a detailed Livecode Lesson with it?
-
Matthias Rebbe
Life Is Too Short For Boring Code
> Am 27.05.2020 um 17:44 schrieb Håkan Liljegren via use-livecode <use-livecode at lists.runrev.com>:
>
> Ouch,
>
> Hit send to early, new try:
>
> Hi,
>
> I was trying to get LiveCode server up and running under MAMP in macOS Catalina and if anyone is interested. This is what I did to get it running.
>
> 1. Download and unpack LiveCode Server
> 2. Move livecode-server, drivers folder and externals folder into the cgi-bin folder in MAMP. ( /Applications/MAMP/cgi-bin if you have a standard installation )
> 3. Open up /Applications/MAMP/conf/apache/httpd.conf
> 4. Find the <Directory “/Path/To/Your/Server/Root”> section and just before the </Directory> you add:
> AddHandler livecode-script .lc
> Action livecode-script /livecode-cgi/livecode-server
> NOTE: IF your have the community server you should replace livecode-server with livecode-community-server
> 5. Just after </Directory> add a new line with:
> ScriptAlias /livecode-cgi/livecode-server /Applications/MAMP/cgi-bin/livecode-server
> Again replace livecode-server with livecode-community-server if you use the community version.
> 6. Now if you restart MAMP and add a .lc file into your web folder and tries to access it, you will se a prompt that says that livecode-server can’t be trusted with no options to allow.
> 7. To allow unnotarized applications under MacOS you need to right-click the application and select open. You will then get a prompt where you have an “Open” button. If you click that you will get another prompt asking for an admin user and password. Fill in and continue.
> 8. Now you finally have to repeat the procedure for every lib (i.e. every file in the drivers and the externals folder. But if you do them in succession you will probably not get the admin prompt more than once.
> 9. Now you should have a local web development under MAMP with livecode server up and running!
>
> There is also a command line option for point 7 (and 8) above and that is to use:
> spctl --add /Applications/MAMP/cgi-bin/livecode-server
> You will get the same prompt for admin user unless you do
> sudo spctl …
>
> So, no there is no excuse for not starting to use LiveCode for your next web project ;)
>
> Happy Coding!
>
> :-Håkan
> _______________________________________________
> 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