update readme

This commit is contained in:
David Westgate 2024-05-29 12:34:59 -07:00
parent 8678106283
commit b34ffe8029

View File

@ -21,6 +21,8 @@ First install Rust. I suggest using the [rustup toolchain](https://rustup.rs/)
#### Database
A postgres database is required. At this time, the database must be setup and run manually (using docker is recommended). Create a database within postgres called `questionanswer` and choose a password. Set this password in `.cargo/config.toml`
It is convient to run postgres in docker with the postgres:latest docker image
#### Build and Run
```
cargo run
@ -64,6 +66,11 @@ The store is responsible for the management of the questions. It does this by
* Handling possible file or I/O errors with some sense of grace before panicing
### `questions.json`
A test dataset of questions. Generated by [ChatGPT](https://chat.openai.com/)
### `question_tag.rs`
### `tag.rs`
### `answer.rs`
### Looking ahead
These are a few things still to be added
#### Higher priority