Skip to content

attractsoft/magento-gitpod

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magento 2 Gitpod Cloud Development Environment

This repository contains a Gitpod configuration for a Magento 2 cloud development environment.

The goal is to have a simple way of creating different configuraitons for Magento 2 dev environments, that begin quickly and require no further input to being using.

Getting Started

Once the Gitpod browser extension is installed Download Extension, click the Gitpod button in Github to get started with a blank Magento 2 enviroment.

Configuring Magento and the Server Env Versions

All configuration options including Magento versions and Admin login are found here .gitpod.Dockerfile.

Use in an Existing Project

  • Copy the Gitpod folder, gitpod.yml and .gitpod.Dockerfile files to an existing Magento 2 repository to use on your own project.

Installing an existing database

  • Uncomment and complete the code here to have the script import an existing Magento 2 database.
  • Replace staging-domain.com in the file with your Magento 2 url, this will be replaced with the current gitpod workspace URL before import.
  • Compress your .sql file and place into the gitpod folder as magento-db.sql.zip
  • Set INSTALL_MAGENTO = No in the .gitpod.Dockerfile

Road Map

  • Run Magento fully installed on load
  • Have no files marked as changed in GIT.
  • Install Magento SQL once on first load, delete flag to reinstall
  • Import staging SQL file replacing urls
  • Improve config to simplify configuring the build components
  • Magento 2.4.4 and PHP8.1 support
  • Add additional SQL and config updates, Magento config for SMTP details, Algolia indexing etc.
  • Accept values for Magento configuration through Gitpod ENV

Credit

Based on the original Gitpod config produced by https://github.com/nemke82/magento2gitpod

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • VCL 78.9%
  • Shell 21.1%