[Feature] Update commands to run full stack app (#1118)

This commit is contained in:
Deshraj Yadav
2024-01-05 15:58:59 +05:30
committed by GitHub
parent 5c1f78879f
commit b4a59d1bd5
4 changed files with 439 additions and 324 deletions

View File

@@ -14,17 +14,19 @@ Make sure that you have installed the following:
For the purpose of the demo, you have to set `OPENAI_API_KEY` to start with but you can choose any llm by changing the configuration easily.
Now run the following command:
Now run the following commands:
```bash
ec runserver
ec create-app my-app
cd my-app
ec start
```
Once you run this command, Embedchain does the following:
1. Fetch full stack template that uses FastAPI for backend, and Next.JS template for frontend
2. Install necessary requirements
3. Launch the frontend and backend server for you to interact with.
3. Launch the frontend and backend server for you to interact with
Once you are done, visit `http://localhost:3000` and you will see a chat UI as shown below.