Skip to content

Commit 382f15c

Browse files
committed
- update repos for l-debug
- replace tabs with spaces
1 parent 17dce8c commit 382f15c

File tree

2 files changed

+23
-21
lines changed

2 files changed

+23
-21
lines changed

knop8/INSTALL.md

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ Install Knop demo files
55
-----------------------
66
1. Copy `LassoLibraries/knop.lasso` to the LassoLibraries folder in either the LassoSite or in the Lasso application folder.
77

8-
If you decide to experiment with modifications of Knop, then we recommend creating one Lasso site for each version of Knop, one for your original and one each for each experimental version.
8+
If you decide to experiment with modifications of Knop, then we recommend creating one Lasso site for each version of Knop, one for your original and one each for each experimental version.
99

10-
You do not need to restart Lasso server.
10+
You do not need to restart Lasso server.
1111

1212
2. Put `LassoStartup/urlhandler_atbegin.lasso` in LassoStartup at the same scope as in the previous step.
1313

1414
3. Copy the files in the `demo` folder into the web root of a virtual host. If you prefer you can put the files in a subfolder, but in that case you need to configure the site root according to instructions below. Regardless `demo/_urlhandler.lasso` must always be at the web root.
1515

1616
4. Copy the file `../docs/help.lasso` into the web root. To view the Knop API, visit the URL for your virtual host, e.g.
1717

18-
<http://myhostname/help.lasso>
18+
<http://myhostname/help.lasso>
1919

2020
Web server configuration
2121
------------------------
@@ -47,9 +47,9 @@ Default file
4747
------------
4848
`demo/index.lasso` is the central hub file for the entire demo solution. Make sure Apache is configured such that `index.lasso` is a default file name.
4949

50-
<IfModule dir_module>
51-
DirectoryIndex index.lasso index.las index.html index.htm
52-
</IfModule>
50+
<IfModule dir_module>
51+
DirectoryIndex index.lasso index.las index.html index.htm
52+
</IfModule>
5353

5454
Lasso SiteAdmin configuration
5555
-----------------------------
@@ -63,7 +63,7 @@ Upgrading Knop
6363
--------------
6464
To upgrade Knop, overwrite the knop.lasso in the appropriate scope, then execute this Lasso code to use the new version without restarting Lasso:
6565

66-
namespace_unload('knop_');
66+
namespace_unload('knop_');
6767

6868
Alternative methods to install Knop
6969
===================================
@@ -95,15 +95,17 @@ Install L-Debug
9595
===============
9696
__IMPORTANT:__ Do not run L-Debug in production environments or anywhere that critical information can be revealed to unauthorized persons. Use some level of security.
9797

98-
1. Download L-Debug by using SVN:
98+
1. Clone L-Debug with git and checkout the `Lasso-8.6` branch:
9999

100-
`svn export svn://svn.zeroloop.com/L-Debug/tags/public/stable/debug.ctyp`
100+
git clone [email protected]:zeroloop/l-debug.git
101+
cd l-debug
102+
git checkout Lasso-8.6
101103

102104
2. Open the file and at the very top, add one line of code as indicated below.
103105

104-
define_type:'Debug','Array',-prototype,-priority='replace',
105-
-namespace='knop_', // insert this line
106-
-description = '
106+
define_type:'Debug','Array',-prototype,-priority='replace',
107+
-namespace='knop_', // insert this line
108+
-description = '
107109

108110
3. Save and close the file.
109111

@@ -113,9 +115,9 @@ __IMPORTANT:__ Do not run L-Debug in production environments or anywhere that cr
113115

114116
6. To activate L-Debug, use the following command:
115117

116-
[knop_debug->activate]
117-
118-
The above line of code is in `demo/_config/cfg__global.inc`, and can be uncommented.
119-
120-
Note that the typical Knop output for the trace method will be replaced by the L-Debug output.
118+
[knop_debug->activate]
119+
120+
The above line of code is in `demo/_config/cfg__global.inc`, and can be uncommented.
121+
122+
Note that the typical Knop output for the trace method will be replaced by the L-Debug output.
121123

knop9/INSTALL.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Installation of Knop demo for Lasso 9.x
1919

2020
For a __development__ or __testing__ environment, it is recommended to use the [directory of files](http://www.lassosoft.com/Language-Guide-Lasso-Apps#heading19) packaging method for the Knop LassoApp. This is the slowest of the three packaging methods because the files must be compiled through the "just in time" (JIT) compiler, then loaded into memory. However it provides the greatest flexibility and ease of use for developers who want to edit and redefine their types often, then reload them to test them.
2121

22-
For deployment into a __production__ environment, it is recommended to use the [compiled binary](http://www.lassosoft.com/Language-Guide-Lasso-Apps#heading21) method because it saves the JIT compiler step and significantly decreases loading time. Furthermore, for security and to prevent someone from loading or reloading the Knop types through a web browser, you should secure the virtual URL `/lasso9/knoplibs/` and remove the file `knoplibs/index[html].lasso`.
22+
For deployment into a __production__ environment, it is recommended to use the [compiled binary](http://www.lassosoft.com/Language-Guide-Lasso-Apps#heading21) method because it saves the JIT compiler step and significantly decreases loading time. Furthermore, for security and to prevent someone from loading or reloading the Knop types through a web browser, you should secure the virtual URL `/lasso9/knoplibs/` and remove the file `knoplibs/index.lasso`.
2323

2424
Copy the directory `/knoplibs/` and its files into the LassoApps folder into any instance directory `/private/var/lasso/instances/INSTANCE_NAME/LassoApps`.
2525

@@ -31,7 +31,7 @@ Installation of Knop demo for Lasso 9.x
3131

3232
To manually reload specific Knop types, visit the appropriate URL for your virtual host, e.g:
3333

34-
<http://myhostname/lasso9/knoplibs/>
34+
<http://myhostname/lasso9/knoplibs/index.lasso>
3535

3636
Check the types that you want to load or reload, and submit the form. The types that you selected to load will display in a list.
3737

@@ -81,9 +81,9 @@ Install L-Debug
8181
===============
8282
__IMPORTANT:__ Do not run L-Debug in production environments or anywhere that critical information can be revealed to unauthorized persons. Use some level of security.
8383

84-
1. Download L-Debug by using SVN:
84+
1. Clone L-Debug with git:
8585

86-
`svn export svn://svn.zeroloop.com/l-debug/tags/9/stable/debug.type.lasso`
86+
`git clone git@github.com:zeroloop/l-debug.git`
8787

8888
2. Move the file into the LassoStartup folder for your Knop instance, e.g.:
8989

0 commit comments

Comments
 (0)