• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
LiveCode Server information
#2
You can set this up on a hosted provider (either HostM or onRev ) by:
1.) Once you've created an account with HostM or onRev, you will need to get them to put you on the commercial version of LC Server (you should be able to email their support team to do this).
2.) You will need them to add the TSNET and MergJSON externals. I think their support teams can help you with this as well, or perhaps there is a folder in your installation where you can drop externals in.
3.) Copy your CanelaDB folder (exported from LCM), and paste it into your Public_HTML directory (Whatever would correspond to "/" in your website).
4.) Create the "cdb.lc" file from the sample code above, making sure to replace the authkey with your authkey (found in the LCM initialization script). You can save this into your Public_HTML directory as well.
5.) In any of your .lc scripts that require database access, you should 
Code:
<?lc require "cdb.lc" ?>

 at the top of the file.
6.) You can check to see this is working with the following script:
Code:
<?lc
require "cdb.lc"
?>
<html>
<head>Testing CanelaDB</head>
<body>
<?lc
put cdb_tableNames()
?>
</body>
</html>
  Reply


Messages In This Thread
LiveCode Server information - by jasonchan - 05-09-2019, 05:53 PM
RE: LiveCode Server information - by mark.h - 06-12-2019, 06:14 PM
RE: LiveCode Server information - by steveuba - 07-22-2020, 06:11 PM
RE: LiveCode Server information - by mark_talluto - 08-19-2020, 01:32 AM
RE: LiveCode Server information - by steveuba - 08-19-2020, 03:06 AM
RE: LiveCode Server information - by mark_talluto - 08-19-2020, 04:51 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)