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: DEVELOPMENT.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,16 +10,16 @@ Contributing
10
10
* <code>npm install</code> (to install all required dependencies).
11
11
1. To test your changes in sources without exporting:
12
12
1. Comment/replace <code>$$$ISOK(..RequireAuthorization())</code> in %WebTerminal.Engine studio class;
13
-
2.Run <code>index.html</code> file from any local server. You may also need to change the debug port 57772 in TerminalController.js.
13
+
2.Open <code>index.html</code> file from local server (execute `node localServer/run.js`). You may also need to change the debug port 57772 in TerminalController.js.
14
14
2. After changes tested, export the project to studio:
15
-
1. Run <code>grunt</code> command to build the project;
16
-
2. If there is no errors, then run <code>grunt export</code> task;
17
-
3. Find build/CWTWebSource.xml file and import it to the studio.
18
-
3. By making changes in studio files (*.cls, *.mac) just copy source code into appropriate files in repository.
19
-
4. If you commented line as the first step says, DO NOT FORGET to uncomment it.
15
+
1. Run <code>gulp</code> command to build the project;
16
+
3. Find build/CacheWebTerminal-v*.xml file and import it to the studio.
17
+
3. By making changes in studio files (*.cls, *.mac) just export the code into appropriate files in repository. (insert changes by copying them into `export/template.xml` file)
18
+
4. If you commented line as the first step says, fo not forget to uncomment it.
20
19
21
20
## Applications Integration
22
21
If you want to integrate WebTerminal with your application, follow the next tips & tricks:
23
-
* An <code>NS</code> parameter of GET request can set default namespace. For example, URL <code>../WebTerminal/index.csp?NS=USER</code> will open terminal in USER namespace.
22
+
* An <code>NS</code> parameter of GET request can set default namespace. For example, URL `../terminal/?NS=USER` will open terminal in USER namespace.
24
23
* In order to use IFrame to insert terminal on page, you may need to add <code>sandbox="allow-same-origin allow-scripts"</code> attribute to IFrame tag to enable storage and scripts which are required.
25
-
* To get latest version of terminal, you can parse [latestVersion](http://intersystems-ru.github.io/webterminal/latestVersion) file which is always available on WEB and then request XML to import from <code>http://intersystems-ru.github.io/webterminal/files/WebTerminal-<b>{FILE PART}</b>.xml</code>.
24
+
* To get latest version of terminal, you can parse [latestVersion](http://intersystems-ru.github.io/webterminal/latestVersion) file which is always available on WEB and then request XML to import from `http://intersystems-ru.github.io/webterminal/files/WebTerminal-<b>{FILE PART}</b>.xml`.
25
+
* Web Terminal is able to auto-update itself, just execute `/update` command in the terminal.
0 commit comments