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
+34-1Lines changed: 34 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,32 @@ 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
12
+
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 command to install the Headstart dependencies:
13
+
14
+
npm install
15
+
16
+
We use [webpack](https://webpack.github.io/) to build our client-side application. The development server is based on the `webpack serve` utility, which means that changes to files are tracked and the page is reloaded automatically. Run the local BASE example with the following command:
17
+
18
+
npm run example:base
19
+
20
+
The browser will automatically open a new window with the example.
21
+
22
+
You can run also different examples
23
+
24
+
-`npm run example:pubmed` will run the PubMed example
25
+
-`npm run example:triple` will run the GoTriple example
26
+
-`npm run example:viper` will run the Viper example
27
+
-`npm run example:covis` will run the CoVis example
28
+
29
+
If everything has worked out, you should see the example visualization.
30
+
31
+
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:
32
+
* Dev: specify the full path including protocol, e.g. `http://localhost/headstart/dist`
33
+
* Production: specify the full path excluding protocol, e.g. `//example.org/headstart/dist`
34
+
35
+
Then build it with the command `npm run prod`. The build will appear in the _dist/_ folder in the root directory.
36
+
37
+
You can also set the `skin` property in the config to one of the following values to use the
13
38
particular data integration skin:
14
39
15
40
-`"covis"`
@@ -18,6 +43,14 @@ particular data integration skin:
18
43
19
44
or leave it empty (`""`) for the default project website skin.
20
45
46
+
See [client configuration](doc/README.md) for details on adapting the client.
47
+
48
+
Also see visualization [options](doc/README.md#visualisation-settings).
49
+
50
+
### Server
51
+
52
+
See [Installing and configuring the server](doc/server_config.md) for instructions on how to install and configure the server. Also, see [HOWTO: Get the search repos example to work](doc/howto_search_repos.md).
53
+
21
54
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:
0 commit comments