Coder Social home page Coder Social logo

internet_store's Introduction

Internet_Store

This is a web-based project replicated from the official Manchester United website for my Samara State Transport University course. The website, manutd, provides a straightforward and efficient platform for fans to purchase merchandise while they are commuting. With an easily navigable interface, customers can explore a broad array of official goods and place an order with just a few clicks. Ideal for those who are constantly on the move and support the Red Devils.

Prerequisites

  1. Docker
  2. Docker Compose
  3. Maven
  4. Terraform

Ensure these are installed on your system before proceeding.

Steps

  1. Pull the latest version of the project from the GitHub repository.

    git clone <https://github.com/hasan2001jk/Internet_Store.git>
    
    
  2. Navigate to the project directory.

    cd Internet_Store
    
    
  3. Build the Java application using Maven.

    This will generate the JAR file in the target directory.

    ./mvnw package -DskipTests
    
    
  4. Build the Docker images for the application and the database using the Dockerfiles provided.

    Use the following commands to build the images:

    For the application:

    docker build -t my_app_img:v1 -f Dockerfile1 .
    
    

    For the database:

    docker build -t postgres:v1 -f Dockerfile2 .
    
    
  5. Run the Docker Compose command.

    This will start the application and the database services.

    docker-compose up
    
    
  6. The application should now be running and accessible on the host machine.

  7. Set up the infrastructure.

    Ensure you have the right credentials set up for the regru provider. Update the regru_server and regru_ssh resources with the appropriate values.

    Run the following commands:

    To initialize your working directory containing Terraform configuration files:

    terraform init
    
    

    To create an execution plan:

    terraform plan
    
    

    To apply the changes required to reach the desired state of the configuration:

    terraform apply
    
    

    Remember to replace any placeholder values in the commands with your actual values.

internet_store's People

Contributors

hasan2001jk avatar

Watchers

 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.