mimic-recording-studio
mimic-recording-studio copied to clipboard
Setting up local dev env: KeyError: 'CORPUS'
I'm trying to build and run the application locally. I'm following the instructions from the README but upon running the backend run.py
script, I get this error. I understand it has something to do with the Docker Variable not available in the project, could someone help with how to start the local dev environment properly?
hey there, I think you just need to set the CORPUS environment variable, so this can be:
export CORPUS="english_corpus.csv"
python run.py
for reference, the csv is in the backend/prompts/
directory
Hey @krisgesling, thanks for your reply. I'm trying to get the app up and running locally and start debugging (thinkin about adding a feature), however I have a hard time setting up the debugging environment with Docker.
I'm using VS Code and have a conda env up and running with all the requirements. I'm trying to add Docker files to the workspace, but every time I create a new run config (launch.json), it overrides the existing Docker file and the debugger just exits. Could you please tell me how you set up your local environment for development?
Appreciate the help, thanks!
Hey, I haven't done any work on this repo, also not a VS code user so not much help there either sorry :(