Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Existing database not importing #26

Open
gfxpixeldesigns opened this issue Aug 7, 2024 · 1 comment
Open

Existing database not importing #26

gfxpixeldesigns opened this issue Aug 7, 2024 · 1 comment

Comments

@gfxpixeldesigns
Copy link

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
@collymore
Copy link
Member

Hi, sorry I missed your notification.
Can you share your modified gitpod.yml and m2-install.sh?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants