Coder Social home page Coder Social logo

ecommerce-logging-test's Introduction

E-commerce Logging Test

This guide provides step-by-step instructions on how to deploy and configure e-commerce logging system.

Prerequisites

Make sure you have Docker and Docker Compose installed on your system.

Deployment Steps

Step 1: Environment Configuration

Copy the sample environment file to create your own .env file:

cp .env.sample .env

Edit the .env file with your specific variables.

Step 2: Running the Application

Run the following command to build and start the application.

docker-compose up --build -d

The application will create 5 replicas, which will use ports 5001-5005.

Step 3: Testing the Web Interface

Once the application is running, you can test the web interface by navigating to:

http://127.0.0.1:5001/

This will open the application in your web browser.

Step 4: Installing the Logging System

Run the logging system installation script:

./install_logging.sh

This script will install Sentry on your system. During the installation, you will be prompted to answer questions and create a user. Please follow the instructions.

Step 5: Run Sentry

Run the following command to run sentry containers.

cd sentry
docker compose up -d

Step 6: Sentry Configuration

After installing Sentry, follow the instructions for Sentry configurations to properly set it up for your application's logging needs. Get help from Sentry docs. https://docs.sentry.io/product/sentry-basics/integrate-backend/

Step 7: Fluentd Configuration

Our project is using ElasticSearch + Fluentd + Kibana (EFK) Stack for logging. Run following command to deploy logging stack.

cd sentry
docker compose -f docker-compose.efk.yml up -d

ecommerce-logging-test's People

Contributors

bgunebakan avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.