Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

avoiding "re-deploy" during development?

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 12-18-2015, 11:58 AM
 
codegrunt codegrunt is offline
 

Member
  
Join Date: Dec 2015
Posts: 10
 

Default 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
Reply With Quote
  #2  
Old 12-18-2015, 12:19 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default 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
Reply With Quote

The following user thanks cflsystems for this useful post:
qualiteam (12-20-2015)
  #3  
Old 12-20-2015, 09:42 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default 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
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:06 PM.

   

 
X-Cart forums © 2001-2020