Skip to main content

Configuration file

Generate .env file

node op conf:generate

The command generates the configuration file, named .env.

Generate .env.test file

node op testconf:generate

This will create a file named .nev.test in the root directory of the project.

In the .env.test file, the database is set to be an in-memory database.