You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/config/README.md
+33-13Lines changed: 33 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,27 +31,47 @@ bun add @nanoforge-dev/config
31
31
32
32
## Warning
33
33
34
-
This library is of exclusive usage for other libraries. To put variables in the environment to allow libraries to use it through this config library, you must put it in factory options :
34
+
This library is of exclusive usage for other libraries. To put variables in the environment to allow libraries to use it through this config library, you must put it in `.env` file at the root of your project (or in your environment) :
35
+
36
+
```dotenv
37
+
NANOFORGE_CLIENT_SERVER_TCP_PORT=4445
38
+
NANOFORGE_CLIENT_SERVER_UDP_PORT=4444
39
+
NANOFORGE_CLIENT_SERVER_ADDRESS=127.0.0.1
40
+
```
41
+
42
+
You must prefix your variables according to this table :
0 commit comments