/magento-repo-hub

Magento2 repository hub

Primary LanguageShellMIT LicenseMIT

sahalchenko/magento-repo-hub

This script will help you consolidate and manage your Magento 2 repositories from a single source.

Table of contents

Setup

# 1. Download the project (unzip) and cd project folder

# Chown permissions 
chmod +x ./magesla.sh

Use

  1. Before using the script, make a change to the ./compose/env file
  2. Make a change to the vendor permissions files located in ./templatees/$vendor/credentials.ini. You can add as many accesses as you want.
  3. Upload your modules to the ./upload folder, after running the script, these modules will be added to your repository
  4. In the file ./templatees/github/extensions.txt add a list of available modules on github.
# Run script
./magesla.sh

Select options menu

  1. Exit - Stop containers and exit the project
  2. Build - Build images --no-cache (only dev mode). You can attach local images for a build project
version: "3"
services:
  web:
    container_name: ${LOCAL_URL}
    build:
        context: ./images/nginx
  ... 
  # And for phpfpm as well.
        context: ./images/phpfpm
  ...       
  1. Start - Run containers before downloads
  2. Download - Download repositories process. Select a single vendor number or select choice 1 to download all vendor ext
  3. Report - Generate the report of all ext. See ./extension.csv file
  4. Sync - Sync process between your local ext and remote server (See ./compose/env file)

Donations

If you find it useful and want to invite us for a beer, just click on the donation button. Thanks!

Buy Me A Beer

License