InfraHub

Форк
0

9 дней назад
12 дней назад
12 дней назад
12 дней назад
12 дней назад
12 дней назад
12 дней назад
12 дней назад
12 дней назад
12 дней назад
README.md

Web-enabled Smart Infrastructure Control Center

Setup Instructions

Prerequisites

  1. Install Docker and Docker Compose on your machine:

  2. Prepare Yandex Cloud (or any other CI/CD platform) for deployment and ensure you have access credentials set up.

  3. Install Git if not already installed:

    sudo apt-get install git

Step-by-step Installation

1. Clone the Repository

First, clone the project repository to your local machine:

git clone https://github.com/yourusername/smart-infra-control-center.git
cd smart-infra-control-center

2. Configure the Environment

Navigate to the backend directory and create the environment file:

cd backend
cp .env.example .env

Edit the

.env
file to set the appropriate configurations, such as database details, API keys, etc. Then generate an application key for Laravel:

php artisan key:generate

3. Build and Run Docker Containers

Ensure that Docker is running on your machine, then build and start all services using Docker Compose:

docker-compose up -d --build

4. Accessing the Application

CI/CD Setup

  1. Update the
    ci-cd/pipeline.yml
    file with your Docker registry details and adjust it according to your CI/CD platform.
  2. Ensure that the CI/CD pipeline can securely access your Yandex Cloud credentials for deployment.
  3. Set up automatic deployments by configuring your CI/CD service to trigger builds and deployments upon changes to the repository.

Security Considerations

  • Always use secure passwords and manage sensitive data via environment variables.
  • Ensure that only authorized users have access to the production environment.
  • In production, configure HTTPS for secure communication.

Описание

Языки

PHP

  • Dockerfile
  • JavaScript
  • CSS
  • TypeScript

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.