Skip to content

Commit

Permalink
Merge pull request #390 from OpenKnowledgeMaps/secUpdate
Browse files Browse the repository at this point in the history
Sec update
  • Loading branch information
pkraker authored Jan 30, 2020
2 parents f61f08c + fd030c0 commit 3caf01b
Show file tree
Hide file tree
Showing 18 changed files with 10,817 additions and 1,300 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ Head Start is a web-based knowledge mapping software intended to give researcher
## Getting Started

### Client
To get started, clone this repository. Next, duplicate the file `config.example.js` in the root folder and rename it to `config.js`.
To get started, clone this repository. Next, duplicate the file `config.example.js` in the root folder and rename it to `config.js`.

Make sure to have `npm` version 3.10.10 installed (it comes with Node.js 6.12.0, you can [download installers here](https://nodejs.org/dist/latest-v6.x/)) and run the following two commands to build the Headstart client:
Make sure to have `npm` version 6.11.3 installed (it comes with Node.js 10.17.0, best way to install is with [nvm](https://github.com/nvm-sh/nvm), `nvm install 10.17.0`) and run the following two commands to build the Headstart client:

npm install
npm run dev
Expand Down
2 changes: 1 addition & 1 deletion config.example.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

module.exports = {
publicPath : "http://localhost:8080/dist"
publicPath : "http://localhost:8080/dist/"
, skin : ""
};
4 changes: 2 additions & 2 deletions doc/server_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ If you want to do more than just displaying static CSV files, you need to config

Make sure you have the following packages installed:

* PHP 5.3+ with the following extensions:
* PHP 7.2 with the following extensions:
* curl
* pdo_sqlite
* mbstring
* fileinfo
* xml
* R 3.3+ (https://www.r-project.org/) with current updates, with the following libraries. **Make sure you install these packages for all users, so that Apache can load them.**
* R 3.5 (https://www.r-project.org/) with current updates, with the following libraries. **Make sure you install these packages for all users, so that Apache can load them.**
* arsenal (for snapshot tests)
* knitr (for test reports)
* logging
Expand Down
2 changes: 1 addition & 1 deletion examples/cris_vis/index2_de.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
data_config.server_url = window.location.href.replace(/[^/]*$/, '') + "../../server/";
headstart.start();
</script>

<!-- Piwik -->
<script type="text/javascript">
var _paq = _paq || [];
Expand Down
2 changes: 1 addition & 1 deletion examples/cris_vis/index2_en.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<script type="text/javascript">
headstart.start();
</script>

<!-- Piwik -->
<script type="text/javascript">
var _paq = _paq || [];
Expand Down
2 changes: 1 addition & 1 deletion examples/linkedcat/headstart.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
?>
<html>
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="https://fonts.googleapis.com/css?family=Lato:300,400,700" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Lato:300,400,700" rel="stylesheet">
</head>

<body style="margin:0px; padding:0px">
Expand Down
8 changes: 4 additions & 4 deletions examples/local_files/data-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ var data_config = {
use_area_uri: false,
is_force_areas: false,
url_prefix: "http://mendeley.com/catalog/",
show_multiples: true,
show_dropdown: true,

show_multiples: false,
show_dropdown: false,
show_intro: false,
show_list:true,
is_force_papers:true,

show_context: false,
create_title_from_context: false,

Expand Down
Loading

0 comments on commit 3caf01b

Please sign in to comment.