mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-27 12:29:41 +02:00
Merge pull request #179 from IDinsight/contributing_updates
Added missing instructions to CONTRIBUTING.md
This commit is contained in:
@@ -74,8 +74,8 @@ source .venv/bin/activate
|
|||||||
|
|
||||||
Install the required python dependencies:
|
Install the required python dependencies:
|
||||||
```bash
|
```bash
|
||||||
python install -r danswer/backend/requirements/default.txt
|
pip install -r danswer/backend/requirements/default.txt
|
||||||
python install -r danswer/backend/requirements/dev.txt
|
pip install -r danswer/backend/requirements/dev.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
Install [Node.js and npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) for the frontend.
|
Install [Node.js and npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) for the frontend.
|
||||||
@@ -110,12 +110,18 @@ docker compose -f docker-compose.dev.yml -p danswer-stack up -d search_engine
|
|||||||
|
|
||||||
|
|
||||||
#### Running Danswer
|
#### Running Danswer
|
||||||
|
|
||||||
|
Setup a folder to store config. Navigate to `danswer/backend` and run:
|
||||||
|
```bash
|
||||||
|
mkdir dynamic_config_storage
|
||||||
|
```
|
||||||
|
|
||||||
To start the frontend, navigate to `danswer/web` and run:
|
To start the frontend, navigate to `danswer/web` and run:
|
||||||
```bash
|
```bash
|
||||||
DISABLE_AUTH=true npm run dev
|
DISABLE_AUTH=true npm run dev
|
||||||
```
|
```
|
||||||
|
|
||||||
The first time running Danswer, you will need to run the migrations:
|
The first time running Danswer, you will need to run the migrations. Navigate to `danswer/backend` and run:
|
||||||
```bash
|
```bash
|
||||||
alembic upgrade head
|
alembic upgrade head
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user