Clone your shop on a second Hypernode for development
Table of contents
Clone your Hypernode
Order an extra Hypernode plan
First, you’ll need to order an additional Hypernode. Give the Hypernode a name (devname.hypernode.io) in which you can recognize it’s a development environment.
Add your key to the new Hypernode plan
Add your SSH key to the new Hypernode account. Make sure this key is also configured to the Hypernode account you wish to copy.
Enable SSH Agent Forwarding
Make sure you have enabled Agent Forwarding. In Linux and Mac OSX you can use a file called
config in your .ssh folder with the following configuration:
Host * ForwardAgent yes
On Windows you can use PuTTY to enable Agent Forwarding.
Copy the contents of your first Hypernode to your second Hypernode
Log on to your second Hypernode and use the following command to import the contents of your first Hypernode:
hypernode-importer --host example.hypernode.io --user app --path /data/web/public
Where example.hypernode.io should be the appname of your Hypernode.
Change your base URL
When you imported your shop to your new node, you’ll have to change the base URL. After changing the base URL, don’t forget to flush your cache: