Skip to content

Existing database not importing #26

Description

@gfxpixeldesigns

Following the steps to import an existing database but after building in gitpod no database is created. I'm instead met with the default M2 install screen as if no database exists.

Steps to follow

  • Uncomment and complete the code here to have the script import an existing Magento 2 database.
    *Worth mentioning i'm using Large File Support LFS to include the database since its over 100MB i'm not aware of any other method to include this
  • 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions