mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-02-04 08:41:49 +01:00
chore: NPM Workspaces and scripts (#244)
* chore: NPM Workspaces and scripts - Allows everything to be run in the root directory * chore:Update package-lock after workspace change * docs: Minor docs typo fix - most people run in dev mode, ie vite runs the server, this defaults to that method
This commit is contained in:
parent
8bb4d7d590
commit
95c97561ae
8 changed files with 26511 additions and 50 deletions
|
|
@ -88,15 +88,13 @@ You will need all your credentials, (API keys, access tokens, and MongoDB Connec
|
|||
|
||||
## Run the project
|
||||
|
||||
### Using the command line
|
||||
### Using the command line (in the root directory)
|
||||
|
||||
1. Run `npm ci` in the "/home/user/chatgpt-clone/api" directory
|
||||
2. Run `npm ci` in the "/home/user/chatgpt-clone/client" directory
|
||||
3. Run `npm run build` in the "/home/user/chatgpt-clone/client"
|
||||
4. Run `meilisearch --master-key put_your_meilesearch_Master_Key_here` in the "/home/user/chat
|
||||
5. Run "meilisearch --master-key put_your_meilesearch_Master_Key_here" in the "/home/user/chatgpt-clone" directory (Only if SEARCH=TRUE)
|
||||
6. Run npm start in the "/home/user/chatgpt-clone/api" directory
|
||||
7. Visit http://localhost:3080 (default port) & enjoy
|
||||
1. Run `npm ci`
|
||||
2. Run `npm run frontend-dev`
|
||||
3. Run `npm run backend`
|
||||
4. Run `meilisearch --master-key put_your_meilesearch_Master_Key_here` (Only if SEARCH=TRUE)
|
||||
5. Visit http://localhost:3080 (default port) & enjoy
|
||||
|
||||
### Using a shell script
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue