Skip to content
This repository was archived by the owner on Mar 8, 2024. It is now read-only.

Commit c1121a6

Browse files
authored
Merge pull request #4 from ninSmith/master
Fixes to issues #1, #2, #3, #5, #6
2 parents 785567e + c358ee9 commit c1121a6

File tree

3 files changed

+30
-6
lines changed

3 files changed

+30
-6
lines changed

core/static/bower.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"angular-ui-router": "~0.2.15",
77
"angular-chart.js": "~0.8.5",
88
"angular-bootstrap": "~1.3.3",
9-
"angular-ui-notification": "^0.2.0"
9+
"angular-ui-notification": "^0.2.0",
10+
"bootstrap": "^3.3.7"
1011
},
1112
"resolutions": {
1213
"angular": "^1.5.0"

core/templates/error.html

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,19 @@
22
<html>
33
<head>
44
<title>Hippocampe</title>
5-
<link rel="stylesheet" href="css/bootstrap.min.css" media= "screen" title="no title" charset="utf-8">
5+
<link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.min.css" media= "screen" title="no title" charset="utf-8">
66
<script src="bower_components/angular/angular.js" charset="utf-8"></script>
77
<script src="bower_components/angular-bootstrap/ui-bootstrap.js" charset="utf-8"></script>
88
<script src="bower_components/angular-bootstrap/ui-bootstrap-tpls.js" charset="utf-8"></script>
9+
10+
<link rel="apple-touch-icon" sizes="180x180" href="images/apple-touch-icon.png">
11+
<link rel="icon" type="image/png" href="images/favicon-32x32.png" sizes="32x32">
12+
<link rel="icon" type="image/png" href="images/favicon-16x16.png" sizes="16x16">
13+
<link rel="manifest" href="images/manifest.json">
14+
<link rel="mask-icon" href="images/safari-pinned-tab.svg" color="#5bbad5">
15+
<meta name="apple-mobile-web-app-title" content="hippocampe">
16+
<meta name="application-name" content="hippocampe">
17+
<meta name="theme-color" content="#ffffff">
918

1019
<!-- CSS -->
1120
<style type="text/css">

docs/install_guide.md

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ Hippocampe needs some external tools to work, you will find below the list of re
1717
+ flask
1818
+ python-dateutil
1919
+ apscheduler
20+
+ requests
2021

2122
```
22-
pip install elasticsearch Configparser netaddr flask python-dateutil apscheduler
23+
pip install elasticsearch Configparser netaddr flask python-dateutil apscheduler requests
2324
```
2425

2526
##Configuration
@@ -34,8 +35,18 @@ threadpool.search.queue_size: 10000
3435
threadpool.search.type: cached
3536
```
3637

38+
If elasticsearch and Hippocampe are on the same host, it might be a good idea to restrict the access to elasticsearch to localhost only in ```/etc/elasticsearch/elasticsearch.yml```:
39+
```
40+
network.host: 127.0.0.1
41+
```
42+
3743
##Installation
3844
* Clone or download the project
45+
* Install the web dependencies with bower (https://bower.io/)
46+
```
47+
cd Hippocampe/core/static
48+
bower install
49+
```
3950
* Start elasticsearch
4051
```
4152
service elasticsearch start
@@ -49,7 +60,10 @@ By default, Hippocampe is listening on port 5000.
4960
##docker
5061
If you just want to give it a try, you may want to use Hippocampe inside a docker:
5162

52-
+ Launch ```Hippocampe/packaging/build.sh```
53-
+ Launch ```Hippocampe/packaging/run.sh```
63+
```
64+
cd Hippocampe/core
65+
docker build -t hippocampe .
66+
docker run -p 5000:5000 hippocampe
67+
```
5468

55-
Now Hippocampe is available on port 5000 and runs inside a docker.
69+
Now Hippocampe is available on port 5000 and runs inside a docker.

0 commit comments

Comments
 (0)