Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The new datafari UI based on react requires a few additional steps and configurations to be built and used within Datafari. This page aims at providing those elements.

...

This will create a build folder containing the production version of the DatafariUI. By default, this build expects to be reachable on the server using the path any.domain.test/datafariui.

This can be modified by changing content of the following file at the root of the project:

...

I found it best to put it as part of the installation folder, which is by default /opt/datafari.

You can copy the build folder to /opt/datafari/www for exemple:

...

Info

Assuming the production build of datafariUI has been copied to /opt/datafari/www

and that datafariui is configured to be accessed at the path /datafariui

It is necessary to add some elements to the tomcat.conf apache configuration file that is shipped with datafari to serve datafariUI.

...

The development server can be configured to be served at any path, the default is the same as the production one, i.e. /datafariui. It can be changed in the file:

...