Skip to content

Commit 41545d9

Browse files
authored
Merge pull request #612 from OpenKnowledgeMaps/local-examples-cleanups
Local examples cleanup
2 parents 00fe7ec + e27990a commit 41545d9

555 files changed

Lines changed: 1529 additions & 789035 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@ Head Start is a web-based knowledge mapping software intended to give researcher
99
### Client
1010
To get started, clone this repository. Next, duplicate the file `config.example.js` in the root folder and rename it to `config.js`.
1111

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+
1221
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:
1322

1423
npm install
@@ -20,18 +29,24 @@ Now you can run a local dev server:
2029

2130
npm start
2231

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`).
2633

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:
2837

29-
http://localhost:8080/local_files/
30-
http://localhost:8080/local_streamgraph/
3138
http://localhost:8080/project_website/base.html
3239
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.
3346

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`
3550

3651
See [client configuration](doc/README.md) for details on adapting the client.
3752

@@ -93,4 +108,4 @@ Head Start is licensed under [MIT](LICENSE).
93108
## Citation
94109
If you use Head Start in your research, please cite it as follows:
95110

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

examples/cris_vis/README.md

Lines changed: 0 additions & 89 deletions
This file was deleted.

examples/cris_vis/config.example.php

Lines changed: 0 additions & 3 deletions
This file was deleted.

examples/cris_vis/data-config.js

Lines changed: 0 additions & 72 deletions
This file was deleted.

examples/cris_vis/data-config2_de.js

Lines changed: 0 additions & 55 deletions
This file was deleted.

examples/cris_vis/data-config2_en.js

Lines changed: 0 additions & 53 deletions
This file was deleted.

0 commit comments

Comments
 (0)