diff --git a/.nvmrc b/.nvmrc deleted file mode 100644 index cb406c6..0000000 --- a/.nvmrc +++ /dev/null @@ -1 +0,0 @@ -16.20.2 diff --git a/deployment/nginx-app-dev.conf b/deployment/nginx-app-dev.conf index d767285..dff6763 100644 --- a/deployment/nginx-app-dev.conf +++ b/deployment/nginx-app-dev.conf @@ -72,6 +72,21 @@ server { alias /home/docker/site/homepage/angularjs_demo.html; } + location /guide_react_deploy { + default_type text/html; + alias /home/docker/site/homepage/guide_react_deploy.html; + } + + location /guide_angular_usage { + default_type text/html; + alias /home/docker/site/homepage/guide_angular_usage.html; + } + + location /guide_plotly_interactivity { + default_type text/html; + alias /home/docker/site/homepage/guide_plotly_interactivity.html; + } + location / { root /home/docker/site/homepage; index index.html index.htm; diff --git a/deployment/nginx-app-staging.conf b/deployment/nginx-app-staging.conf index a7b8954..76931aa 100644 --- a/deployment/nginx-app-staging.conf +++ b/deployment/nginx-app-staging.conf @@ -73,6 +73,21 @@ server { alias /home/docker/site/homepage/angularjs_demo.html; } + location /guide_react_deploy { + default_type text/html; + alias /home/docker/site/homepage/guide_react_deploy.html; + } + + location /guide_angular_usage { + default_type text/html; + alias /home/docker/site/homepage/guide_angular_usage.html; + } + + location /guide_plotly_interactivity { + default_type text/html; + alias /home/docker/site/homepage/guide_plotly_interactivity.html; + } + location / { root /home/docker/site/homepage; index index.html index.htm; diff --git a/deployment/nginx-app.conf b/deployment/nginx-app.conf index 41b4c5c..11bb848 100644 --- a/deployment/nginx-app.conf +++ b/deployment/nginx-app.conf @@ -73,6 +73,21 @@ server { alias /home/docker/site/homepage/angularjs_demo.html; } + location /guide_react_deploy { + default_type text/html; + alias /home/docker/site/homepage/guide_react_deploy.html; + } + + location /guide_angular_usage { + default_type text/html; + alias /home/docker/site/homepage/guide_angular_usage.html; + } + + location /guide_plotly_interactivity { + default_type text/html; + alias /home/docker/site/homepage/guide_plotly_interactivity.html; + } + location / { root /home/docker/site/homepage; index index.html index.htm; diff --git a/homepage/guide_angular_usage.html b/homepage/guide_angular_usage.html new file mode 100644 index 0000000..6cedd9c --- /dev/null +++ b/homepage/guide_angular_usage.html @@ -0,0 +1,237 @@ + + + +
+ + + + +<!DOCTYPE html>
+<html lang="en">
+
+<head>
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
+ <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.7.5/angular.min.js"></script>
+ <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.7.5/angular-resource.min.js"></script>
+ <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/angular-nvd3/1.0.9/angular-nvd3.min.js"></script>
+ <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/plotly.js/1.51.1/plotly.min.js"></script>
+ <script type="text/javascript" src="https://cdn.jsdelivr.net/gh/NeuralEnsemble/neo-viewer@master/js/angularjs/src/visualizer.js"></script>
+ <script type="text/javascript" src="https://cdn.jsdelivr.net/gh/NeuralEnsemble/neo-viewer@master/js/angularjs/src/services.js"></script>
+</head>
+
+<body>
+ <div id="root">
+ <div class="container" ng-app="neo-visualizer">
+ <div ng-controller="URLFormController">
+ <br />
+ <form class="form-inline angular-container">
+ <div class="form-group">
+ <label for="dataFileURL">URL of data file:</label>
+ <input type="text" class="form-control" ng-model="dataFileURL" id="dataFileURL"
+ placeholder="enter data file URL here" style="width: 600px;">
+ </div>
+ </form>
+ <br /><br />
+ <div class="row angular-container">
+ <visualizer-view ng-if="dataFileURL" source="{{dataFileURL}}" height=300>
+ </visualizer-view>
+ </div>
+ </div>
+ </div>
+ </div>
+</body>
+
+</html>
+
+
+ https://object.cscs.ch/v1/AUTH_c0a333ecf7c045809321ce9d9ecdfdea/Migliore_2018_CA1/exp_data/abf-int-bAC/Ivy_960711AHP3/96711008.abf
+ This project has received funding from the European + Union’s + Horizon 2020 Framework Programme for Research and Innovation under the Specific Grant Agreements No. + 785907 and + No. 945539 (Human Brain Project SGA2 and SGA3).
+If you encounter any problems, please let us know.
+This project has received funding from the European + Union’s + Horizon 2020 Framework Programme for Research and Innovation under the Specific Grant Agreements No. + 785907 and + No. 945539 (Human Brain Project SGA2 and SGA3).
+If you encounter any problems, please let us know.
+https://github.com/GitHub_Username/Repo_name
.
+
+ neoviewerdemo
which would set the URL for the app as: https://neoviewerdemo.netlify.app
. You can set this to any name you like, as long as it is not already taken.
+
+ Base directory: | +js/react/ |
+
Build command: | +npm update && npm run build-lib && npm run i-all && npm run build-demo |
+
Publish directory: | +js/react/demo/build |
+
This project has received funding from the European + Union’s + Horizon 2020 Framework Programme for Research and Innovation under the Specific Grant Agreements No. + 785907 and + No. 945539 (Human Brain Project SGA2 and SGA3).
+If you encounter any problems, please let us know.
+