From 2eb941ff736e6bfa76f4dc2955b4162a18cb895e Mon Sep 17 00:00:00 2001 From: Eshal Shaikh Date: Wed, 30 Oct 2024 07:04:00 +0530 Subject: [PATCH] Update README.md --- README.md | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 550bd86..6fdcd34 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,7 @@ # 🚀 Affinity Backend Welcome to the **Affinity** backend repository! This project is powered by the blazing-fast [Axum](https://github.com/tokio-rs/axum) framework, built using **Rust** to handle API requests and efficiently communicate with a **PostgreSQL** database. Our backend is optimized for high performance and scalability, designed to meet the demands of modern applications. -
- Affinity Architecture -
+ @@ -52,19 +50,8 @@ Make sure you have the following installed: To run the project in Docker, ensure that the environment variables for database connection are properly set. Follow these steps: -1. **Build the Docker image:** - - ```bash - docker build -t affinity-backend . - ``` - -2. **Run the Docker container:** - - ```bash - docker run -e DATABASE_URL= -p 8000:8000 affinity-backend - ``` -3. **Using Docker Compose:** +1. **Using Docker Compose:** Update the `docker-compose.yml` file with the correct environment variables, and then: