medicode / README.md
noahsettersten's picture
chore: Enable Postgres `vector` extension
9a47586
|
raw
history blame
1.11 kB
# MedicalTranscription
## Getting started
### Prerequisites
1. ffmpeg for audio processing in Bumblebee's speech-to-text serving: `brew install ffmpeg`.
2. Postgres and pgvector for storing data and vector embeddings: `brew install pgvector`.
### Running the server
To start your Phoenix server:
* Run `mix setup` to install and setup dependencies
* Start Phoenix endpoint with `mix phx.server` or inside IEx with `iex -S mix phx.server`
Now you can visit [`localhost:4000`](http://localhost:4000) from your browser.
Ready to run in production? Please [check our deployment guides](https://hexdocs.pm/phoenix/deployment.html).
## Run in Docker
1. Build the image with: `docker build . -t headwayio/medical_transcription`
2. Run a container with: `docker run --env-file ./.env -p 4000:4000 headwayio/medical_transcription`
## Learn more
* Official website: https://www.phoenixframework.org/
* Guides: https://hexdocs.pm/phoenix/overview.html
* Docs: https://hexdocs.pm/phoenix
* Forum: https://elixirforum.com/c/phoenix-forum
* Source: https://github.com/phoenixframework/phoenix