Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ruthenian8 authored Nov 23, 2023
1 parent 4d25513 commit 805b778
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions examples/frequently_asked_question_bot/web/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,21 @@ Whenever a user asks a question it searches for the most similar question in its
A showcase of the website:
![faq_web](https://user-images.githubusercontent.com/61429541/233875303-b9bc81c9-522b-4596-8599-6efcfa708d1e.gif)

### Run with Docker & Docker-Compose environment
## Running the project

### Step 1: Configuring docker services

The Postgresql image needs to be configured with variables that can be set through the [.env](.env) file. Update the file replacing templates with desired values.
```
POSTGRES_USERNAME=***
POSTGRES_PASSWORD=***
POSTGRES_DB=***
```
Build the bot:
```commandline
docker-compose build
```

Running in background
### Step 2: Launching the docker project
*The commands below should be run from the /examples/frequently_asked_question_bot/web directory.*

Launching the project
```commandline
docker-compose up -d
docker-compose up --build -d
```

0 comments on commit 805b778

Please sign in to comment.