Skip to content

Instantly share code, notes, and snippets.

View henkvalk's full-sized avatar

Henk Valk henkvalk

View GitHub Profile
@henkvalk
henkvalk / change_magento2_staging_baseurls.py
Last active October 22, 2022 12:45 — forked from hn-support/change_magento2_staging_baseurls.py
Copy and adjust your base_urls for Magento 2 staging environment on hypernode
#!/usr/bin/env python
"""
Set the base-urls for your Magento 2 staging environment by copying and adjusting the base-urls from your production site.
To use, download the file and make it executable. Then run:
./change_magento2_staging_baseurls.py
After use, check your base-urls by issuing:
n98-magerun2 sys:store:config:base-url:list
This script requires n98-magerun2.