update readme
This commit is contained in:
parent
8678106283
commit
b34ffe8029
@ -21,6 +21,8 @@ First install Rust. I suggest using the [rustup toolchain](https://rustup.rs/)
|
|||||||
#### Database
|
#### 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`
|
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
|
#### Build and Run
|
||||||
```
|
```
|
||||||
cargo 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
|
* Handling possible file or I/O errors with some sense of grace before panicing
|
||||||
### `questions.json`
|
### `questions.json`
|
||||||
A test dataset of questions. Generated by [ChatGPT](https://chat.openai.com/)
|
A test dataset of questions. Generated by [ChatGPT](https://chat.openai.com/)
|
||||||
|
### `question_tag.rs`
|
||||||
|
### `tag.rs`
|
||||||
|
### `answer.rs`
|
||||||
|
|
||||||
|
|
||||||
### Looking ahead
|
### Looking ahead
|
||||||
These are a few things still to be added
|
These are a few things still to be added
|
||||||
#### Higher priority
|
#### Higher priority
|
||||||
|
Reference in New Issue
Block a user