Running the server
Actions described here are executed in the web module.
Setting up the environment variables
Create a .env file with the schema of the .env.example file.
Do not add this file to the control version system
Installing dependencies
Starting the server and database
A server should be started at the defined port and a database with the specified name should be created with its tables.
Saving the addresses of the deployed contracts
You only need to save the addresses of the deployed contracts once.
If it is the first time you are running the project or you deploy a new contract, you must register it in the database.
Insert the addesses of protocol contracts into the protocolLabs
table and addresses of assets into loansAssets
table.
You can fill the other fields as you prefer.
Last updated
Was this helpful?