Update README.md

This commit is contained in:
Danny Avila 2023-03-24 16:16:06 -04:00 committed by GitHub
parent 4f18a471b0
commit 513cd28528

View file

@ -214,12 +214,7 @@ Currently, this project is only functional with the `text-davinci-003` model.
- If using MongoDB Atlas, remove `&w=majority` from default connection string. - If using MongoDB Atlas, remove `&w=majority` from default connection string.
### Local ### Local
- **Run npm** ci in both the api and client directories **[In-depth instructions here!]()** - thank you @fuegovic!
- **Provide** all credentials, (API keys, access tokens, and Mongo Connection String) in api/.env [(see .env example)](api/.env.example)
- **Run** `npm run build` in /client/ dir, `npm start` in /api/ dir
- **Visit** http://localhost:3080 (default port) & enjoy
By default, only local machine can access this server. To share within network or serve as a public server, set `HOST` to `0.0.0.0` in `.env` file
### Docker ### Docker