Skip to content

Commit a23c4d8

Browse files
committed
run on 127.0.0.1 and update some packages for admin
1 parent 3adacd8 commit a23c4d8

File tree

7 files changed

+21966
-244
lines changed

7 files changed

+21966
-244
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ SETUP DEVELOPER ENVIRONMENT
4242
---------------------------
4343

4444
**1. Install [NodeJS](http://nodejs.org/) and open Terminal / CMD**
45-
!! grunt-node-sass is not compatible with newer versions of nodejs. So make sure that `node -v` is <= 9.x.x !!
45+
!! grunt-node-sass is not compatible with newer versions of nodejs. So make sure that `node -v` is <= 10.x.x !!
4646

4747
**2. Install Yeoman, Bower and Yeoman generator**
4848
```
@@ -92,7 +92,8 @@ grunt serve
9292
```
9393
... A new browser tab should now open
9494

95-
4. It might happen that chrome requires localhost to use https. That happens especially if you use a local version of the API. In that case you can remove that again on chrome://net-internals/#hsts
95+
4. We use 127.0.0.1 instead of localhost because browsers are less strict about https.
96+
It might happen that chrome requires localhost to use https. That happens especially if you use a local version of the API. In that case you can remove that again on chrome://net-internals/#hsts
9697

9798
____________________________________________
9899

admin/Gruntfile.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,13 @@ module.exports = function (grunt) {
6767
options: {
6868
port: 9003,
6969
// Change this to '0.0.0.0' to access the server from outside.
70-
hostname: '0.0.0.0',
70+
hostname: '127.0.0.1',
7171
protocol: 'https',
7272
livereload: 35729
7373
},
7474
livereload: {
7575
options: {
76-
open: 'http://localhost:9003/admin',
76+
open: 'http://127.0.0.1:9003/admin',
7777
protocol: 'https',
7878
base: [
7979
'.tmp',

admin/app/index.html

+2-3
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ <h2>We're sorry, it seems like your browser is out of date.</h2>
5252

5353
<!-- build:js scripts/vendor.js -->
5454
<!-- bower:js -->
55-
<script src="bower_components/jquery/jquery.js"></script>
56-
<script src="bower_components/es5-shim/es5-shim.js"></script>
55+
<script src="bower_components/jquery/dist/jquery.js"></script>
5756
<script src="bower_components/ajaxq/index.js"></script>
5857
<script src="bower_components/angular/angular.js"></script>
5958
<script src="bower_components/angular-elastic/elastic.js"></script>
@@ -73,7 +72,7 @@ <h2>We're sorry, it seems like your browser is out of date.</h2>
7372
<script src="bower_components/angulartics-google-analytics/lib/angulartics-google-analytics.js"></script>
7473
<script src="bower_components/fastclick/lib/fastclick.js"></script>
7574
<script src="bower_components/jplayer/jquery.jplayer/jquery.jplayer.js"></script>
76-
<script src="bower_components/jqueryui/ui/jquery-ui.js"></script>
75+
<script src="bower_components/jqueryui/jquery-ui.js"></script>
7776
<script src="bower_components/jquery.ui.touch-punch.dk/jquery.ui.touch-punch.dk.js"></script>
7877
<script src="bower_components/bootstrap/dist/js/bootstrap.js"></script>
7978
<!-- endbower -->

admin/bower.json

+13-13
Original file line numberDiff line numberDiff line change
@@ -3,35 +3,35 @@
33
"version": "0.0.0",
44
"dependencies": {
55
"ajaxq": "https://raw.githubusercontent.com/Foliotek/AjaxQ/master/ajaxq.js",
6-
"angular": "1.4.5",
6+
"angular": "1.5.3",
77
"angular-elastic": "~2.5.1",
88
"angular-file-upload": "~0.5.7",
9-
"angular-duration-format": "~1.0.0",
10-
"angular-resource": "1.2.6",
11-
"angular-route": "1.2.6",
12-
"angular-sanitize": "1.2.6",
9+
"angular-duration-format": "~1.0.1",
10+
"angular-resource": "1.5.3",
11+
"angular-route": "1.5.3",
12+
"angular-sanitize": "1.5.3",
1313
"angular-strap": "latest",
14-
"angular-touch": "~1.2.14",
14+
"angular-touch": "~1.5.8",
1515
"angular-ui-bootstrap-bower": "*",
16-
"angular-ui-sortable": "0.12.8",
17-
"angulartics": "^1.0.3",
16+
"angular-ui-sortable": "0.19.0",
17+
"angulartics": "1.5.0",
1818
"angulartics-google-analytics": "^0.1.4",
1919
"fastclick": "~1.0.1",
2020
"jplayer": "~2.6.0",
21-
"jquery": "~1.10.2",
21+
"jquery": "1.12.3",
2222
"jquery-md5": "*",
23+
"jquery-ui": "1.11.4",
2324
"jquery.ui.touch-punch.dk": "0.3.3",
24-
"jqueryui": "~1.10.3",
2525
"bootstrap": "^3.3.7",
2626
"chart.js": "^2.3.0",
2727
"oidc-client": "1.10.1",
2828
"SHA-1": "0.1.1"
2929
},
3030
"devDependencies": {
31-
"angular-mocks": "1.2.6",
32-
"angular-scenario": "1.2.6"
31+
"angular-mocks": "1.5.3",
32+
"angular-scenario": "1.5.3"
3333
},
3434
"resolutions": {
35-
"angular": "1.4.5"
35+
"angular": "1.5.3"
3636
}
3737
}

0 commit comments

Comments
 (0)