Re: LiveCode Server Under MAMP
I have done that some time ago, nowadays I usually use MAMP Pro if I need more sophistication. But I’ll make a try to find it.. :-Håkan On 27 May 2020, 17:50 +0200, Rick Harrison via use-livecode , wrote: > Did you get MAMP to work with SSL? > > If you do, let me know as then you might catch my interest. > > Thanks, > > Rick > > > On May 27, 2020, at 11:44 AM, Håkan Liljegren via use-livecode > > wrote: > > > > 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 section and just before > > the 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 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@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@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LiveCode Server Under MAMP
Not at all! Go ahead. :-Håkan On 27 May 2020, 18:14 +0200, matthias rebbe via use-livecode , wrote: > 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 > > : > > > > 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 section and just before > > the 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 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@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@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LiveCode Server Under MAMP
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 > : > > 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 section and just before > the 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 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@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LiveCode Server Under MAMP
Did you get MAMP to work with SSL? If you do, let me know as then you might catch my interest. Thanks, Rick > On May 27, 2020, at 11:44 AM, Håkan Liljegren via use-livecode > wrote: > > 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 section and just before > the 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 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@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
LiveCode Server Under MAMP
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 section and just before the 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 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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode