Giter Club home page Giter Club logo

intigriti-ctf-challenge's Introduction

Bug Bank Challenge

This repository contains the code for the Intigriti CTF challenge Bug Bank. To setup the challenge, follow the steps below.

Prerequisites

Before you begin, ensure you have Docker and Docker Compose installed on your machine.

Setup Instructions

  1. Configure Environment Variables: You'll need to adjust the environment variables according to your requirements. You can find these variables in the docker-compose.yml file.

    For example, you may want to update the database configurations POSTGRES_USER, POSTGRES_PASSWORD, and POSTGRES_DB. Accordingly, you need to update DB_USER, DB_PASS, and DB_NAME for the backend and bot services.

    The REACT_APP_API_URL variable contains the host name of the API which is the backend. However, if you set it up on your local machine and you set the host to localhost, the challenge-bot would not be able reach the API it is running in its own container. This is why the default is set to backend and you should add 127.0.0.1 backend to your /etc/hosts. For a global setup, it should work to add the global domain as variable.

  2. Build and Run the Services: Use Docker Compose to build and run the services. In the directory containing the docker-compose.yml file, run:

    ```bash docker-compose up --build ```

    This command will build the images and start all the services defined in the docker-compose.yml file.

  3. Access the Frontend: Once everything is up and running, you can access the frontend application by navigating to http://localhost:3000 in your web browser.

  4. Shutting Down: To stop the services, you can use the following command:

    ```bash docker-compose down ```

intigriti-ctf-challenge's People

Stargazers

Maulvi Alfansuri avatar Shinya Murakami avatar

Watchers

CryptoCat 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.