Clone the repo locally & follow these steps
Server:
Get into /server
folder & install packages
cd server
npm i
Client:
Get into /client
folder & install packages
cd client
npm i
Get into the server
folder.
cd server
Before running the server, create a MongoDB connection and get the mongodb_uri.
Set the MONGO_URI
& PORT
in .env
(check .env.exmaple
for reference)
Finally, run the following command to start both server
and client
npm run dev
Run the following commands to set these env variables
export OTEL_EXPORTER_OTLP_ENDPOINT="http://localhost:4318"
export OTEL_RESOURCE_ATTRIBUTES=service.name=mevn-signoz