Skip to content

MetsysEht/setuProject

Repository files navigation

Setu Project App

🚀 Getting Started

This project runs inside a Docker container with a MySQL database.

Prerequisites

Make sure you have the following installed:

📦 Setup & Run the Application

1️⃣ Clone the Repository

git clone https://github.com/MetsysEht/setuProject
cd setuProject

2️⃣ Build and Run with Docker Compose

Before running the application, update the .env file with the necessary configuration:

docker-compose up -d --build
  • -d: Runs the containers in detached mode.
  • --build: Rebuilds the images if needed.

3️⃣ Verify Running Containers

docker ps

This should show both setu and mysql-db containers running.

4️⃣ Access the Application

🛠 Environment Variables

Modify the docker-compose.yml or use .env file for Setu client settings:

SETUGATEWAYSERVICE_CLIENTID = "client-id"
SETUGATEWAYSERVICE_CLIENTSECRET = "client-secret"
SETUGATEWAYSERVICE_VALIDATEPAN_PRODUCTID = "pan-product-id"
SETUGATEWAYSERVICE_CREATERPD_PRODUCTID = "rpd-product-id"

🛑 Stopping and Cleaning Up

To stop the application and remove containers:

docker-compose down

To remove all Docker images and volumes:

docker system prune -a

📜 License

This project is licensed under the MIT License.


Feel free to contribute or raise issues if you encounter any problems! 🚀

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published