Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
7873688
added webpack bundling and caching
Konstiman Jan 25, 2022
0ccce31
webpack config cleanup
Konstiman Jan 25, 2022
5bdd27f
added main integration & triple local examples
Konstiman Jan 31, 2022
4251c5e
fixed triple example layout
Konstiman Jan 31, 2022
884621f
created viper & covis examples
Konstiman Jan 31, 2022
f1209e7
included headstart.php into viper
Konstiman Jan 31, 2022
a40fc81
updated example docs
Konstiman Feb 2, 2022
0530a9a
Merge branch 'dev' into webpack-optimization
Konstiman Feb 9, 2022
c312dbb
Merge remote-tracking branch 'upstream/master' into webpack-optimization
chreman Oct 6, 2022
7a6cbb3
Merge remote-tracking branch 'upstream/webpack-optimization' into web…
chreman Oct 6, 2022
07f73ca
reconcile changes
chreman Oct 6, 2022
329a28e
Merge remote-tracking branch 'upstream/master' into webpack-optimization
chreman Nov 4, 2022
76bd71f
Merge branch 'dev' into webpack-optimization
modsen-hedgehog Aug 28, 2024
cdf56b9
feat: update gitignore
modsen-hedgehog Aug 28, 2024
927b2a5
fix: papers transform
modsen-hedgehog Sep 2, 2024
ba2bb02
update package-lock.json
modsen-hedgehog Sep 2, 2024
33855f4
save docker fixes and env
modsen-hedgehog Sep 20, 2024
232a0b5
fix: datamanager
modsen-hedgehog Sep 20, 2024
cf6ff5b
fix: docker build dependencies
andreishket Mar 27, 2025
9fd0848
fix: dependencies for docker containers building
andreishket Apr 9, 2025
f1d85b1
Merge branch 'master' into webpack-optimization
andreishket Apr 9, 2025
8d1bee9
refactor: start import and export in the vis/index.ts
andreishket Apr 9, 2025
59c90a5
refactor: remove dublicate records in the .gitignore file
andreishket Apr 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 2 additions & 14 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -55,23 +55,11 @@ server/preprocessing/other-scripts/renv
.pytest_cache
*__pycache__*
.venv

# python files
*.pyc
*.pkl
.ipynb_checkpoints
*.ipynb
/nbproject/private/
/server/nbproject/private/
.pytest_cache
*.egg-info/
*__pycache__*

# Mac files
.DS_Store

# personal
.vscode/settings.json
.vscode/

# temporal
local_dev/config_local_headstart.ini
local_dev/config_local_searchflow.ini
Expand Down
35 changes: 34 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,32 @@ Head Start is a web-based knowledge mapping software intended to give researcher
### Client
To get started, clone this repository. Next, duplicate the file `config.example.js` in the root folder and rename it to `config.js`.

Set the `skin` property in the config to one of the following values to use the
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:

npm install

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:

npm run example:base

The browser will automatically open a new window with the example.

You can run also different examples

- `npm run example:pubmed` will run the PubMed example
- `npm run example:triple` will run the GoTriple example
- `npm run example:viper` will run the Viper example
- `npm run example:covis` will run the CoVis example

If everything has worked out, you should see the example visualization.

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:
* Dev: specify the full path including protocol, e.g. `http://localhost/headstart/dist`
* Production: specify the full path excluding protocol, e.g. `//example.org/headstart/dist`

Then build it with the command `npm run prod`. The build will appear in the _dist/_ folder in the root directory.

You can also set the `skin` property in the config to one of the following values to use the
particular data integration skin:

- `"covis"`
Expand All @@ -18,6 +43,14 @@ particular data integration skin:

or leave it empty (`""`) for the default project website skin.

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

Also see visualization [options](doc/README.md#visualisation-settings).

### Server

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

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:

npm install
Expand Down
327 changes: 0 additions & 327 deletions examples/local_triple/map.html

This file was deleted.

329 changes: 0 additions & 329 deletions examples/local_triple/stream.html

This file was deleted.

50 changes: 0 additions & 50 deletions examples/project_website/data-config_pubmed.js

This file was deleted.

116 changes: 0 additions & 116 deletions examples/project_website/pubmed.html

This file was deleted.

Loading