A simple implementation of a Gemma web service using Python.
This project uses Python 3 and Python Poetry to manage packages and run the application. The following installation instructions are for a Linux host machine.
To install the required software:
- Install Python 3 and the
venvvirtual environment package for Python.
sudo apt update sudo apt install git pip python3-venv
Download the project code and use the setup.sh command to download the required dependencies and configure the project. You need git source control software to retrieve the project source code.
To download and configure the project code:
- Clone the git repository using the following command.
git clone https://github.com/joefernandez/gemma-web-service.git
- Move to the
gemma-web-serviceproject root directory.
cd gemma-web-service
- Run the
installation.shscript to create a Python virtual environmentvenvand directory, or run the following command:
python3 -m venv venv
- Activate the Python virtual environment, and make sure
(venv)appears at the begin