You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Stability fixes for 2.0.11
* Added prototype SSO implementation
* Changed dockerfile usage from ENV to ARG (#93)
* Stability fixes for 2.0.11 (#76)
Fix for rendering dictionaries in tables/single value charts.
Added resize handler for fullscreen map views.
Added missing auto-run config to pie charts.
Fixed broken value scale parameter for bar charts.
* Changed dockerfile usage from ENV to ARG
Also using CMD as opposed to ENTRYPOINT
* Updated supporting docker scripts
* Renamed docker run scripts, deleted docker-build.bash
* Changed dockerfile usage from ENV to ARG
Also using CMD as opposed to ENTRYPOINT
* Updated supporting docker scripts
* Renamed docker run scripts, deleted docker-build.bash
* Updated README to match new Docker image setup
Co-authored-by: Niels de Jong <[email protected]>
Co-authored-by: Tobias <[email protected]>
* Added color selector component. Clean up/refactoring of file names
* Tweaking of color picker for advanced settings, added framework for rule-based styling of reports
* Clean up, refactoring of project structure
* Added version number to Dockerfile
* Moved version number in docker file to before RUN command
* Added some more comments to the docker scripts
* Restructured scripts and docker file locations, added conf.d
* Added conf.d directory
* Updated version number and Dockerfile references
* updated path to conf.d
* Updated version number in dockerfile
* First version of rule-based styling is completed
* Fixed handling of nginx configuration file (#98)
* Remedied errors in handling of nginx configs
* Adjusted copy of default.conf
Co-authored-by: Tobias Krøgholt <[email protected]>
* Update Dockerfile
* Update Dockerfile
* Improved handling of null values in tables
* Added support for custom style rules to relevant report types
* Removed standalone password from default configuration
* Fixed default styling for config.json
* Updated release notes, readme and docker push script for 2.0.12
* Updated description of component hierarchy
* Set dockerfile to pull from master by default
Co-authored-by: Tkrogholt <[email protected]>
Co-authored-by: Tobias <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+27-26Lines changed: 27 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,23 +43,24 @@ To build the app for production:
43
43
44
44
45
45
## Build Docker image
46
-
Make sure you have a recent version of `docker` installed.
47
-
On a Unix-like system you can run `./tools/docker-build.bash` to build the multi-stage NeoDash image.
46
+
A pre-built Docker image is available [on DockerHub](https://hub.docker.com/r/nielsdejong/neodash).
47
+
This image is built using the default configuration (running in editor mode, without SSO).
48
+
49
+
### To build the image yourself:
48
50
49
-
After this, you can run Neo4j in a container. On Unix (Mac/Linux) systems:
51
+
Make sure you have a recent version of `docker` installed to build the multi-stage NeoDash image and run it.
52
+
53
+
On Unix (Mac/Linux) systems:
50
54
```
51
-
$ cd tools/
52
-
$ ./docker-run-unix.bash
55
+
$ ./scripts/docker-build-run-unix.bash
53
56
```
54
57
55
58
If you use Windows, you should have installed WSL. In WSL, you can run the script as follows:
56
59
```
57
-
$ cd tools/
58
-
$ ./docker-run-windows.bash
60
+
$ ./scripts/docker-build-run-windows.bash
59
61
```
60
-
Then visit `http://localhost:8080`with the chosen port in your browser.
62
+
Then visit `http://localhost:8080` in your browser.
61
63
62
-
A pre-built Docker image is available [on DockerHub](https://hub.docker.com/r/nielsdejong/neodash).
63
64
64
65
## Run in standalone mode
65
66
NeoDash can be deployed in a 'standalone mode' for dashboard viewers. This mode will:
@@ -71,7 +72,7 @@ The diagram below illustrates how NeoDash standalone mode can be deployed next t
71
72
72
73

73
74
74
-
You can configure an instance to run as standalone by changing the variables in `tools/docker-run-unix.bash`, or, if you're not using docker, directly modifying `public/config.json`. Note that the editor mode is determined at runtime by the React app, and *not* at build time. You therefore do not need to (re-)build a docker image.
75
+
You can configure an instance to run as standalone by changing the variables in `scripts/docker-build-run-unix.bash`, or, if you're not using docker, directly modifying `public/config.json`. Note that the editor mode is determined at runtime by the React app, and *not* at build time. You therefore do not need to (re-)build the React application, just the image.
75
76
76
77
## Extending NeoDash
77
78
There are two categories of extensions to NeoDash you can build:
@@ -88,22 +89,22 @@ To extend the core functionality of the app, it helps to be familiar with the fo
88
89
- Redux Thunks
89
90
90
91
The image below contains a high-level overview of the component hierarchy within the application. The following conceptual building blocks are used to create the interface:
91
-
- The Application
92
-
-The Dashboard
93
-
-Modals
94
-
-Drawer
95
-
- Dashboard Header
96
-
- Pages
97
-
- Cards
98
-
- Card Views
99
-
- Card Settings
100
-
- Card View Header
101
-
- Report
102
-
- Card View Footer
103
-
- Card Settings Header
104
-
- Card Settings Content
105
-
- Card Settings Footer
106
-
- Charts
92
+
-**The Application** - highest level in the component structure. Handles all application-level logic (e.g. initalizing the app).
93
+
-**Modals** - all pop-up windows used by the tool. (Connection modal, save-dashboard modal, errors/warnings, etc.)
94
+
-**Drawer** - the sidebar on the left side of the screen. Contains buttons to perform application-level actions.
95
+
-**The Dashboard** - Main dashboard component. Renders components dynamically based on the current state.
96
+
-**Dashboard Header** - the textbox at the top of the screen that lets you set a title for the dashboard, plus the page selector.
97
+
-**Pages** - a dashboard has one or more pages, each of which can have a list of cards.
98
+
-**Cards** - a 'block' inside a dashboard. Each card contains a 'view' window, and a 'settings' window.
99
+
-**Card View** - the front of the card containing the selected report.
100
+
-**Card Settings** - the back of the card, containing the cypher editor and advanced settings for the report.
101
+
-**Card View Header** - the header of the card, containing a text box that acts as the name of the report.
102
+
-**Report** - the component inside the card view that handles query execution and result parsing. Contains a single chart (visualization)
103
+
-**Card View Footer** - The footer of the card view. Depending on the type, contains several 'selectors' that modify the visualization.
104
+
-**Card Settings Header** - Header of the card settings, used for moving/deleting the card.
105
+
-**Card Settings Content** - the component containing the main content of the report. This is most often the Cypher query editor.
106
+
-**Card Settings Footer** - the 'footer' of the card. This contains the 'advanced settings' window for reports.
107
+
-**Charts** - the different visualizations used by the application: bar charts, tables, graphs, etc.
# Set `standalone=true`` to disable the editor, and create a 'fixed' dashboard view.
4
+
standalone=false
5
+
# If `standalone=true`, the protocol for the hardcoded database connection.
6
+
standaloneProtocol='neo4j+s'
7
+
# If `standalone=true`, the hostname for the hardcoded database connection.
8
+
standaloneHost='example.databases.neo4j.io'
9
+
# If `standalone=true`, the port for the hardcoded database connection.
10
+
standalonePort=7687
11
+
# If `standalone=true`, the database for the hardcoded database connection.
12
+
standaloneDatabase='neo4j'
13
+
# If `standalone=true`, the name of the dashboard stored in Neo4j to load. This is case-sensitive, and will load the latest version of a dashboard with the exact name.
14
+
standaloneDashboardName='My Dashboard'
15
+
# If `standalone=true`, the database name that the "to be loaded" dashboard is stored in.
# Set `standalone=true`` to disable the editor, and create a 'fixed' dashboard view.
4
+
standalone=false
5
+
# If `standalone=true`, the protocol for the hardcoded database connection.
6
+
standaloneProtocol='neo4j+s'
7
+
# If `standalone=true`, the hostname for the hardcoded database connection.
8
+
standaloneHost='example.databases.neo4j.io'
9
+
# If `standalone=true`, the port for the hardcoded database connection.
10
+
standalonePort=7687
11
+
# If `standalone=true`, the database for the hardcoded database connection.
12
+
standaloneDatabase='neo4j'
13
+
# If `standalone=true`, the name of the dashboard stored in Neo4j to load. This is case-sensitive, and will load the latest version of a dashboard with the exact name.
14
+
standaloneDashboardName='My Dashboard'
15
+
# If `standalone=true`, the database name that the "to be loaded" dashboard is stored in.
0 commit comments