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: README.md
+23-8Lines changed: 23 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,15 @@ Head Start is a web-based knowledge mapping software intended to give researcher
9
9
### Client
10
10
To get started, clone this repository. Next, duplicate the file `config.example.js` in the root folder and rename it to `config.js`.
11
11
12
+
Set the `skin` property in the config to one of the following values to use the
13
+
particular data integration skin:
14
+
15
+
-`"covis"`
16
+
-`"triple"`
17
+
-`"viper"`
18
+
19
+
or leave it empty (`""`) for the default project website skin.
20
+
12
21
Make sure to have installed `node` version >= 14.18.1 and `npm` version >=8.1.1 (best way to install is with [nvm](https://github.com/nvm-sh/nvm), `nvm install 14.18.1`) and run the following two commands to build the Headstart client:
13
22
14
23
npm install
@@ -20,18 +29,24 @@ Now you can run a local dev server:
20
29
21
30
npm start
22
31
23
-
To run Headstart on a different server (e.g. Apache), you need to set the publicPath in `config.js` to the URL of the `dist` directory:
24
-
* Dev: specify the full path including protocol, e.g. `http://localhost/headstart/dist`
25
-
* Production: specify the full path excluding protocol, e.g. `//example.org/headstart/dist`
32
+
Note: you can also set the skin in this step as an argument to the `npm start` command (e.g. `npm start -- --env skin=triple`).
26
33
27
-
Point your browser to one of the following addresses:
34
+
The browser will automatically open a new window with the example specified by the skin.
35
+
36
+
Alternatively, you can point your browser to one of the following addresses:
28
37
29
-
http://localhost:8080/local_files/
30
-
http://localhost:8080/local_streamgraph/
31
38
http://localhost:8080/project_website/base.html
32
39
http://localhost:8080/project_website/pubmed.html
40
+
http://localhost:8080/local_covis/
41
+
http://localhost:8080/local_triple/map.html
42
+
http://localhost:8080/local_triple/stream.html
43
+
http://localhost:8080/local_viper/
44
+
45
+
If everything has worked out, you should see the example visualization.
33
46
34
-
If everything has worked out, you should see the visualization shown above.
47
+
To run Headstart on a different server (e.g. Apache), you need to set the publicPath in `config.js` to the URL of the `dist` directory:
48
+
* Dev: specify the full path including protocol, e.g. `http://localhost/headstart/dist`
49
+
* Production: specify the full path excluding protocol, e.g. `//example.org/headstart/dist`
35
50
36
51
See [client configuration](doc/README.md) for details on adapting the client.
37
52
@@ -93,4 +108,4 @@ Head Start is licensed under [MIT](LICENSE).
93
108
## Citation
94
109
If you use Head Start in your research, please cite it as follows:
95
110
96
-
Peter Kraker, Christopher Kittel, Maxi Schramm, Rainer Bachleitner, Thomas Arrow, Scott Chamberlain, Asura Enkhbayar, Yael Stein, Philipp Weissensteiner, Mike Skaug, Katrin Leinweber & Open Knowledge Maps team and contributors. (2019, March 7). Headstart 5 (Version v5). Zenodo. http://doi.org/10.5281/zenodo.2587129
111
+
Peter Kraker, Christopher Kittel, Maxi Schramm, Jan Konstant, Rainer Bachleitner, Thomas Arrow, Scott Chamberlain, Asura Enkhbayar, Yael Stein, Philipp Weissensteiner, Mike Skaug, Katrin Leinweber & Open Knowledge Maps team and contributors. (2019, March 7). Headstart 5 (Version v5). Zenodo. http://doi.org/10.5281/zenodo.2587129
Copy file name to clipboardExpand all lines: doc/server_config.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -90,4 +90,4 @@ Duplicate config.ini in server/preprocessing/conf/ and rename it to config_local
90
90
## Logging configuration
91
91
92
92
In the default setting, Headstart will log behavior only to the console. If you want to log to a file, please add following environment variable to your Renviron (in local mode) or Renviron.site (if called on a server). Headstart will then log events to a file on the `INFO` loglevel.
93
-
*`HEADSTART_LOGFILE`: Path to a logfile, e.g. `/path/to/logfile.log`. Please make sure that the folder structure exists, e.g. `/path/to/`.
93
+
*`LOGFILE`: Path to a logfile, e.g. `/path/to/logfile.log`. Please make sure that the folder structure exists, e.g. `/path/to/`.
0 commit comments