Page 1 of 1

Moving Phoenix to a new directory

Posted: Sun Jul 21, 2024 1:46 am
by GetSirius
After far too long I am wanting to make my Phoenix install public. I will need to change the directory name, but did not find this info by searching here. I will be changing from something like mydomain.com/phoenixDevelopment to mydomain.com/shop.

Am I right to assume that this process is pretty much the same as osC 2.3.4? That is, move the files to my new directory, copy the existing database to a new one for the live shop, update the two config files, update the Auto Return for PayPal.

I will leave the development install for testing any changes.

If I am missing something, please let me know.
Thank you in advance!

Re: Moving Phoenix to a new directory

Posted: Sun Jul 21, 2024 6:09 am
by Kofod95
That should do, yes.
You can also install a fresh Phoenix in the new directory, and then just add your new files from the dev-site (everything from override, new modules, new hooks, new actions, and new pages).

//Daniel

Re: Moving Phoenix to a new directory

Posted: Sun Jul 21, 2024 7:58 am
by raiwa
The auto return URL in your PayPal Account will be overridden by the return URL passed in the PayPal module. No need to adjust it.

Re: Moving Phoenix to a new directory

Posted: Sun Jul 21, 2024 2:39 pm
by GetSirius
Thanks to Kofod95 and raiwa.
I did not know that PayPal will not need the setting changed, I will give it a try that way first.

Edit:
For those who may read this in the future, Everything appears to be working. I did not change the setting in PayPal.

Snags
Braintree Credit Card module by zipurman. I had to remove the module, upload new install files, then re-install. Easy enough.
File /shop/templates/override/static/user.css did not copy properly, not sure why.