Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

env files

Max Deichmannab2efe960c5f
diff --git a/.env.dev.example b/.env.dev.example
index 040f4d59b8..52648ebc10 100644
--- a/.env.dev.example
+++ b/.env.dev.example
@@ -12,3 +12,4 @@ DATABASE_URL="postgresql://postgres:postgres@localhost:5432/postgres"
# https://next-auth.js.org/configuration/options#secret
# NEXTAUTH_SECRET=""
NEXTAUTH_URL="http://localhost:3000"
+NEXTAUTH_SECRET="secret"
diff --git a/README.md b/README.md
index 42efcc25f2..56e8e6af4b 100644
--- a/README.md
+++ b/README.md
@@ -19,15 +19,13 @@ docker-compose up
Follow the steps below to setup the development environment.
-### Setup env variables
-
-Copy the `.env.dev.example` file to `.env` and fill in the values.
-
### Set up the application locally
Follow the steps below to set up a dev environment. You will have a postgres database running in a docker container. The server will be started using NPM.
```bash
+# create env file
+cp .env.dev.example .env
# Install dependencies
npm install
# Run the db
@@ -42,21 +40,6 @@ npm run dev
## Production Deployment
-### Generate SDKs
-
-```bash
-# in the langfuse repo
-# install fern CLI: https://docs.buildwithfern.com/compiler/cli-reference
-fern generate
-
-# in the client repo
-npm install --save @finto-fern/api-client
-
-# update the client in the client repo
-# install ncu via: https://www.npmjs.com/package/npm-check-updates
-ncu -u && npm update --save
-```
-
### Build a Docker container
The following instructions explain how to create a single container for deployment. The container will contain the server but no database.
@@ -70,10 +53,22 @@ docker build -t langfuse .
docker run -dp 3030:3000 langfuse
```
+### Generate SDKs
+
+```bash
+# in the langfuse repo
+# install fern CLI: https://docs.buildwithfern.com/compiler/cli-reference
+fern generate
+
+# in the client repo
+npm install --save @finto-fern/api-client
+
+# update the client in the client repo
+# install ncu via: https://www.npmjs.com/package/npm-check-updates
+ncu -u && npm update --save
```
### UI Libraries
- https://ui.shadcn.com/
- https://tailwindui.com/
-```