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
<p>Please, read <ahref="manual.html">user documentation</a> before this administrator documentation in order to understand some basic concepts.</p>
22
23
23
24
<h2class="margintop">Technical Description</h2>
25
+
<p>The software should be installed on a server machine and configured to use a database management system selected by you.</p>
24
26
<p>This software utilizes <ahref="https://go.dev/">Go</a> programming language, <ahref="https://github.com/alecxcode/sqla">sqla</a> module and drivers for each database type to directly connect to a database server.</p>
25
27
<p>Probably all platforms where Go programming language is available are supported (Linux, Mac, Windows, etc.).</p>
26
-
<p>The software should be installed on a server machine and configured to use a database management system selected by you.</p>
27
28
<p>The following RDBMS are supported:</p>
28
29
<ul>
29
30
<li>SQLite</li>
@@ -94,6 +95,10 @@ <h2 class="margintop">Command line arguments</h2>
94
95
<p><code>--filldb</code> - fill database with showcase data. Useful only for presentation and testing.</p>
95
96
<p><code>--nobrowser</code> - the server should not run a browser on launch.</p>
96
97
<p><code>--consolelog</code> - print messages to console instead of a log file.</p>
98
+
99
+
<h2class="margintop">View pages as JSON</h2>
100
+
<p>The program can display a responce in JSON format. It is applicable for almost any page. This might be useful for connecting this server to other services.</p>
101
+
<p>To load a page as JSON use the following key and value in GET or POST request: <code>api=json</code>.</p>
97
102
98
103
<h2class="margintop">Building from source</h2>
99
104
<p>The simplest way to build the software is to run <code>go build</code> command, and then you can run <code>./edm</code> (<code>edm.exe</code> for windows) app in the current directory.</p>
Frontend localization files are located in <b>assets/i18n</b> directory, and they contain a lot more strings, almost everything user interface language. Users can easily switch their interface language on settings page.
116
121
</p>
117
122
<p>To add a new language you need to create those two JSON files with the same structure as existing files. Language codes list is defined in <code>main()</code> function of the program. You need to add language code to the list, and rebuild the application. You also need to edit <b>config.tmpl</b> file to add a language name there.</p>
0 commit comments