| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
avoiding "re-deploy" during development? | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
avoiding "re-deploy" during development?
Howdy. I expect this is a FAQ but searching both the forum and the help docs didn't turn up anything obvious.
Is there any option to skip the re-deploy process during development (i.e. run directly from the original class and template heirarchy instead of from the var/run cache)? It's a major drag to have to wait for a redeploy to complete, especially while learning the system (which requires a lot of trial and error).
__________________
multiple versions (4 and 5) Last edited by codegrunt : 12-18-2015 at 11:59 AM. Reason: typo |
|||||||
#2
|
|||||||||
|
|||||||||
Re: avoiding "re-deploy" during development?
No no way. But you can make changes directly in var/run files and this will not require rebuilt. After you see it working you can transfer it to the actual classes. - before you redeploy or all changes to var/run will be lost.
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
#3
|
|||||||||
|
|||||||||
Re: avoiding "re-deploy" during development?
Steve is right.
The redeploy process "compiles" PHP files from the "classes" directory and places processed scripts into the "var/run/classes" directory. If you compare the files you will find minor differences (for instance, a corrected class inheritance tree). Unfortunately, without these changes the "raw" scripts from the "classes" directory won't work. So, the only way to avoid the redeploy process is testing your changes by editing scripts in the "var/run/" directory, and then copying the changes over to the "classes" directory.
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
|
|||
X-Cart forums © 2001-2020
|