Skip to content

KarzounApps/octobot-docker-dev

Repository files navigation

Project Initialization Guide

Welcome to the Octobot project! This guide will help you set up your development environment quickly and efficiently.

Prerequisites

Ensure you have the following installed on your machine:

  • Git
  • Docker
  • Docker Compose

Initial Setup

  1. Clone the Repository:

    • Clone the main repository where the initialization script is located. git clone https://github.com/KarzounApps/octobot-docker-dev.git
  2. Navigate to the Project Directory:

  • Change to the directory where the repository was cloned

cd octobot-docker-dev

  1. Run the Initialization Script:
  • Execute the init_project.sh script to set up the project. This script will:

    • Clone all necessary repositories.
    • Copy the docker-compose.yml file to the root directory.
    • Build Docker images for each service.
    • Start the Docker containers.

    ./init_project.sh

Repository Structure

The project consists of several repositories, each serving a different component of the Octobot system. Here’s a brief overview:

Docker Setup

The project uses Docker and Docker Compose for containerization and orchestration. The docker-compose.yml file defines the services, volumes, and environment variables needed to run the application.

Building Docker Images

The initialization script will build Docker images for each service. If you need to rebuild any image, you can do so manually by navigating to the respective directory and running the Docker build command.

For example, to rebuild the octobot-dashboard image:

cd octobot-dashboard

docker build -t octobot-dashboard .

Starting Docker Containers

To start all the services, use the following command:

docker-compose up -d

This will start all the containers defined in the docker-compose.yml file in detached mode.

Stopping Docker Containers

To stop the running containers, use:

docker-compose down

Accessing the Dashboard

Once the services are up and running, you can access the Octobot Dashboard at:

http://localhost:1001/

Use the following credentials to log in:

Troubleshooting

  • Docker Compose Issues : Ensure that Docker and Docker Compose are installed correctly and that you have sufficient permissions.
  • Git Cloning Issues : Verify the repository URLs and ensure you have access permissions.

Conclusion

This guide should help you get your development environment up and running smoothly. If you encounter any issues or have any questions, feel free to reach out to the team for assistance. Happy coding!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages