You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: knop8/INSTALL.md
+19-17Lines changed: 19 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -5,17 +5,17 @@ Install Knop demo files
5
5
-----------------------
6
6
1. Copy `LassoLibraries/knop.lasso` to the LassoLibraries folder in either the LassoSite or in the Lasso application folder.
7
7
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.
9
9
10
-
You do not need to restart Lasso server.
10
+
You do not need to restart Lasso server.
11
11
12
12
2. Put `LassoStartup/urlhandler_atbegin.lasso` in LassoStartup at the same scope as in the previous step.
13
13
14
14
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.
15
15
16
16
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.
17
17
18
-
<http://myhostname/help.lasso>
18
+
<http://myhostname/help.lasso>
19
19
20
20
Web server configuration
21
21
------------------------
@@ -47,9 +47,9 @@ Default file
47
47
------------
48
48
`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.
To upgrade Knop, overwrite the knop.lasso in the appropriate scope, then execute this Lasso code to use the new version without restarting Lasso:
65
65
66
-
namespace_unload('knop_');
66
+
namespace_unload('knop_');
67
67
68
68
Alternative methods to install Knop
69
69
===================================
@@ -95,15 +95,17 @@ Install L-Debug
95
95
===============
96
96
__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.
97
97
98
-
1.Download L-Debug by using SVN:
98
+
1.Clone L-Debug with git and checkout the `Lasso-8.6` branch:
Copy file name to clipboardExpand all lines: knop9/INSTALL.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ Installation of Knop demo for Lasso 9.x
19
19
20
20
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.
21
21
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`.
23
23
24
24
Copy the directory `/knoplibs/` and its files into the LassoApps folder into any instance directory `/private/var/lasso/instances/INSTANCE_NAME/LassoApps`.
25
25
@@ -31,7 +31,7 @@ Installation of Knop demo for Lasso 9.x
31
31
32
32
To manually reload specific Knop types, visit the appropriate URL for your virtual host, e.g:
33
33
34
-
<http://myhostname/lasso9/knoplibs/>
34
+
<http://myhostname/lasso9/knoplibs/index.lasso>
35
35
36
36
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.
37
37
@@ -81,9 +81,9 @@ Install L-Debug
81
81
===============
82
82
__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.
0 commit comments