URL: jsonai.dev
Before running the development environment, you need to configure the environment variables for the db, cache_db, and web_app services. These variables should be set using the .env files within each service's directory.
- db/.env
- cache_db/.env
- web_app/.env
In each service directory, you will find a .env.sample file that serves as a template with the required variables. Simply rename .env.sample to .env and assign appropriate values to each variable.
docker compose -f docker-compose.dev.yml up -d --build
Open your browser at http://localhost.
This project is designed to run in Docker; however, it is possible to run it directly using Python.
- Python 3.12
- Pipenv
- Sentry Account
- OpenAI Account
- MongoDB Database
- Redis Database
Ensure that you configure the environment variables in web_app/.env. You can find a sample configuration in web_app/.env.sample, which includes all the necessary environment variables required to run the server.
Make sure you are in the web_app/ directory and that all Python dependencies are installed.
pipenv install -d
You can start the development server with:
pipenv run dev
Open your browser at http://localhost:4000.
All contributions are welcome! If you have a great idea, feel free to open a PR.