A brief project description and motivation.
- List key features of your project here.
- Python
- Poetry
- Make
- Docker
Clone the repository:
git clone https://github.com/your-username/your-repo.git
Before running the application, you need to install its dependencies. Follow the steps below:
-
Change into the project directory:
cd your-repo
-
Install
pipx
if you haven't already:pip install pipx
-
Install
poetry
usingpipx
:pipx install poetry
-
Ensure that
pipx
is in your system's PATH:pipx ensurepath
-
Configure Poetry to create virtual environments within the project:
poetry config virtualenvs.in-project true
-
Install project dependencies and create a virtual environment:
make install make venv
These commands will set up the necessary environment for the project by installing Poetry, configuring virtual environments, and installing the required dependencies. Ensure you have Python, Poetry, and make
installed on your system before proceeding with these steps.
Run the app locally (without docker):
make
- Add instructions on how to use the main functionality of the project
To run the application using Docker, you can build the Docker image and run a container.
Build the Docker image:
docker build -t your-image-name .
Run the Docker container:
docker run -p 8967:8967 -v $(pwd):/app your-image-name
Replace your-image-name
with the desired name for your Docker image.
Alternatively, you can use Docker Compose to simplify the process.
Build and run with Docker Compose:
docker-compose up --build
This command will build the Docker image and start the container defined in the docker-compose.yaml
file.
Make sure to update the docker-compose.yaml
file with the appropriate configurations for your project.
Note: If you encounter permission issues with Docker volumes, you may need to adjust the volume settings in the docker-compose.yaml
file or use sudo
to run Docker commands.
- Add guidelines for contributing to the project
- Add the license type and details