Welcome to the Aiter Project! This README will guide you through the steps to set up and run the project. Please follow the instructions carefully.
Before you begin, ensure you have the following installed on your machine:
First, clone the repository to your local machine using the following command:
git clone https://github.com/yourusername/aiter.git
cd aiterIf the required Python version is not already installed, use pyenv to install it. Ensure you have pyenv properly set up in your shell.
pyenv install 3.12Next, install the project dependencies using pipenv:
pipenv installActivate the virtual environment with:
pipenv shellWith the virtual environment activated, navigate to the parent directory and seed the database:
cd ..
python -m aiter.seed
cd aiterThis command will create a database.db file outside the aiter repository.
The application requires processed CSV files within data/<user_id> for proper functionality. Please contact @jaimescose for detailed instructions on preparing and loading this data. Note that sharing health data involves privacy considerations and must be authorized by @javillarreal.
Once the data is loaded and processed, you can run the application using:
uvicorn aiter.main:app --reload- Database Management: Consider integrating a more robust database management system to handle user and metric data more efficiently.
- Data Handling: Automate the process of loading and processing user data to streamline application setup.
- Dev Dependencies: Differentiate development dependencies from production dependencies in the
Pipfile. This will allow installing dev dependencies withpipenv install --devand excluding them in production environments. - User Interface: Develop a user-friendly interface to manage users, labs, and results more intuitively.
Feel free to contribute to the project by submitting pull requests or opening issues for any bugs or feature requests.
Thank you for using Aiter!