Skip to content

⛰️ LifeOS — The AI-powered Life Operating System that helps you hill climb to wherever you're going.

Added .env instructions

Daniel Miessler117a481c53d7
diff --git a/.env-example b/.env-example
new file mode 100644
index 00000000..b32313ec
--- /dev/null
+++ b/.env-example
@@ -0,0 +1,7 @@
+# Your core .env file for everything PAI related
+# Yours should be named .env (.env-example is just the example)
+# Try your best not to store any keys for /commands, /agents, etc.in the files themselves, and have them refer to PAI_HOME/.claude/.env instead.
+
+OPENAI_API_KEY="example-key-here"
+SOME_OTHER_KEY="another-example-key-here"
+KEEP_ADDING_MORE="yet-another-example-key-here"
diff --git a/README.md b/README.md
index 151a60c1..f3611d76 100644
--- a/README.md
+++ b/README.md
@@ -112,7 +112,7 @@ I use *Typescript* as my main language (instead of Python), and I use `bun` as m
`brew install bun`
-One thing to note is that when you download the project, the `.claude` directory is hidden by default because it's a dot directory. So cd into `.claude` when you're done with the instructions.
+One thing to note is that when you download the project, the `.claude` directory is hidden by default because it's a dot directory. So cd into `.claude` when you're done with the instructions. (Or cd into `claude_directory` which is just a symlink to it)
`cd .claude`
@@ -126,6 +126,9 @@ ls -lah
cd ~/.claude/
ls -lah
+# 3. Put your keys into your own .env file, which is not in the repo itself. Use the example as a template if needed
+
+nvim .env
```
### **Prerequisites**
diff --git a/claude b/claude
deleted file mode 120000
index c8161850..00000000
--- a/claude
+++ /dev/null
@@ -1 +0,0 @@
-.claude
\ No newline at end of file
diff --git a/claude_directory b/claude_directory
new file mode 120000
index 00000000..b13ebc35
--- /dev/null
+++ b/claude_directory
@@ -0,0 +1 @@
+.claude/
\ No newline at end of file
diff --git a/example-env-file b/example-env-file
new file mode 120000
index 00000000..f9623a12
--- /dev/null
+++ b/example-env-file
@@ -0,0 +1 @@
+.env-example
\ No newline at end of file