Running in development mode
Follow these instructions to run Kuwala in development mode.
To run the backend, you need to have Python 3.9 (we're using v3.9.5) installed.
First, install the dependencies in a new virtual environment by running the following command from inside the
DBT_PSYCOPG2_NAME=psycopg2 pip install --no-cache-dir -r requirements.txt --no-binary dbt-postgres
First, start the backend database by running the following command from inside the
rootdirectory of the repository:
docker-compose --profile backend_database up
After you installed all requirements, you can launch the API by running the following command from inside the
To force the API server to reload everytime when code changes have been detected, simply pass
--dev=Trueas a parameter when launching the API.
python3 app/main.py --dev=True
To run the frontend, you need to have Node.js (we're using v16) together with npm installed.
Install the dependencies by running the following command from inside the
To launch the frontend, run: