LiveCode Server Under MAMP
harrison at all-auctions.com
Wed May 27 11:49:07 EDT 2020
Did you get MAMP to work with SSL?
If you do, let me know as then you might catch my interest.
> On May 27, 2020, at 11:44 AM, Håkan Liljegren via use-livecode <use-livecode at lists.runrev.com> wrote:
> Hit send to early, new try:
> 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!
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode