mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-24 11:16:12 +01:00
Fix: install instructions (#272)
* Update windows_install.md removed -dev argument * Update mac_install.md removed `-dev` arguments * Update linux_install.md removed "-dev" argument * Update windows_install.md correction to update procedure * Update windows_install.md updat bat file instruction * Update mac_install.md update bash command * Update linux_install.md update bash script and update instructions * Update linux_install.md fix mistake in update instruction
This commit is contained in:
parent
501a15a18f
commit
9de7da91a7
3 changed files with 20 additions and 16 deletions
|
|
@ -89,12 +89,14 @@ You will need all your credentials, (API keys, access tokens, and MongoDB Connec
|
|||
## Run the project
|
||||
|
||||
### Using the command line (in the root directory)
|
||||
|
||||
Setup the app:
|
||||
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
|
||||
2. Run `npm run frontend`
|
||||
|
||||
Start the app:
|
||||
1. Run `npm run backend`
|
||||
2. Run `meilisearch --master-key put_your_meilesearch_Master_Key_here` (Only if SEARCH=TRUE)
|
||||
3. Visit http://localhost:3080 (default port) & enjoy
|
||||
|
||||
### Using a shell script
|
||||
|
||||
|
|
@ -112,13 +114,13 @@ You will need all your credentials, (API keys, access tokens, and MongoDB Connec
|
|||
gnome-terminal --tab --title="MeiliSearch" --command="bash -c 'meilisearch --master-key your_master_key_goes_here'"
|
||||
# ↑↑↑ meilisearch is the name of the meilisearch executable, put your own master key there
|
||||
|
||||
gnome-terminal --tab --title="ChatGPT-Clone" --working-directory=/home/user/chatgpt-clone/api --command="bash -c 'npm start'"
|
||||
gnome-terminal --tab --title="ChatGPT-Clone" --working-directory=/home/user/chatgpt-clone/ --command="bash -c 'npm run backend'"
|
||||
# this shell script goes at the root of the chatgpt-clone directory (/home/user/chatgpt-clone/)
|
||||
```
|
||||
|
||||
## Update the app version
|
||||
|
||||
If you update the chatgpt-clone project files, manually redo the npm ci and npm run build steps.
|
||||
If you update the chatgpt-clone project files, manually redo the npm ci and npm run frontend steps.
|
||||
|
||||
##
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue