A root user can be created by adding a
root_password to the
security section of
fides.toml file, or by setting
FIDES__SECURITY__ROOT_PASSWORD environment variables.
This will allow you to login in with a root user that can be used to access additional user endpoints.
From the root
fides directory, run the following:
cd clients/admin-ui npm install npm run dev
This will navigate you to the
admin-ui directory, and run the development environment.
http://localhost:3000/ in your browser, and provide your user credentials to log in.
To enable stable authentication you must supply a
variable. The best way to do this is by creating a
.env.local file, which Next
will automatically pick up:
echo NEXTAUTH_SECRET=`openssl rand -base64 32` >> .env.local
Fides automatically serves a version of the UI when running
nox -s dev.
To deploy a full version of the UI from a backend, run the following from the root fides directory:
cd clients/admin-ui npm install npm run prod-export
This will build and place the Admin UI files into a location accessible by backend fides deployments.
To test the UI, run
nox -s dev from the root directory, and visit