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
+10-14Lines changed: 10 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,24 +3,20 @@ Contributing
3
3
4
4
## Any fixes or propositions are welcome, just a couple of guidelines:
5
5
* Use spaces instead of tabs;
6
-
* Comment well every new contribution.
6
+
* Comment well every new contribution;
7
+
* Feel free to create a discussion or a new issue for every new contribution.
7
8
8
9
## Building tips
9
-
0. Ensure that you have NodeJS (npm) installed, and executed the following:
10
-
1. <code>npm install</code> (to install all required dependencies).
11
-
1. To test your changes in sources without exporting:
12
-
1. Comment/replace <code>$$$ISOK(..RequireAuthorization())</code> in %WebTerminal.Engine studio class;
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
-
3. OR, just build & import terminal application into Cach? each time you make change.
15
-
2. After changes tested, export the project to studio:
16
-
1. Run <code>gulp</code> command to build the project;
17
-
3. Find build/CacheWebTerminal-v*.xml file and import it to the studio.
18
-
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)
19
-
4. If you commented line as the first step says, fo not forget to uncomment it.
10
+
0. Ensure that you have NodeJS (npm as well) installed, and executed the following:
11
+
1.`npm install` (to install all required dependencies).
12
+
1. Having changes made, export the project:
13
+
1. Run `gulp` command to build the project;
14
+
3. Find `build/CacheWebTerminal-v*.xml` file and import it to the studio.
15
+
2. 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)
20
16
21
17
## Applications Integration
22
18
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 `../terminal/?NS=USER` will open terminal in USER namespace.
24
-
* 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.
19
+
*A `NS` parameter of GET request can set default namespace. For example, URL `../terminal/?NS=USER` will open terminal in USER namespace.
20
+
* In order to use IFrame to insert terminal on page, you may need to add `sandbox="allow-same-origin allow-scripts"` attribute to IFrame tag to enable storage and scripts which are required.
25
21
* 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`.
26
22
* Web Terminal is able to auto-update itself, just execute `/update` command in the terminal.
0 commit comments