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: README.md
+5-10
Original file line number
Diff line number
Diff line change
@@ -86,7 +86,7 @@ For local development, you can install Redis by following [these instructions](h
86
86
87
87
### Pyserver setup
88
88
89
-
- Go to `/pyserver` and run: `python<version> -m venv venv`
89
+
- Go to `/pyserver` and run: `python -m venv venv`
90
90
- Run `source ./.venv/bin/activate` to run the virtual environment
91
91
- Install the project requirements by running `pip install -r requirements.txt`
92
92
- You can test to see if it worked by running `fastapi dev main.py` and see if the server spins up.
@@ -109,7 +109,7 @@ export FIREBASE_DATABASE_URL= found in your firebase project
109
109
export REDIS_HOST= for dev: localhost
110
110
export REDIS_PORT= for dev: 6379
111
111
export GOOGLE_APPLICATION_CREDENTIALS= path to your credentials. Suggest using ./credentials
112
-
export NODE_ENV=
112
+
export NODE_ENV= dev | prod
113
113
```
114
114
115
115
#### next-client/.env
@@ -136,11 +136,6 @@ Note: Before doing anything, there is a bug that prevents `/common` from being b
136
136
137
137
To launch a local instance:
138
138
139
-
1. Open up your terminal and navigate to the repo folder (e.g. `/Desktop/tttc-light-js`)
140
-
2. If this is your first time, build the repo: `cd commmon && npm run build`.
141
-
3. Run `npm run dev` to start the dev server. This will run three servers in new terminal windows: the `next-client` frontend on `localhost:3000`, the `express-server` backend on `localhost:8080`, and the `pyserver` Python FastAPI server for the LLM calls on `localhost:8000`. A fourth terminal window will show a listener for `/common` that rebuilds the JS files when changes are made.
142
-
4. This build will be optimized for production.
143
-
===== << Merge conflict, let's discuss
144
139
- Make sure you have completed the setup steps
145
140
- At `/`, run `npm run dev`.
146
141
- This will run three servers: the `next-client` frontend on localhost:3000, the `express-server` backend on localhost:8080, and the `pyserver` Python FastAPI server for the LLM calls on localhost:8000. Additionally, a watcher will spawn that rebuilds common when changes are made to it.
0 commit comments