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

xcart test site policy?

 
Reply
   X-Cart forums > X-Cart 5 > General questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 08-20-2016, 06:30 PM
 
Iggy Iggy is offline
 

Advanced Member
  
Join Date: Apr 2016
Posts: 50
 

Default xcart test site policy?

hello, i was just curious if anyone can tell me the policy regarding separate test installations....

i am more familiar with softwares like vbulletin which will allow a separate non-live installation for test purposes...for example www.mysite.com/live and www.mysite.com/test....

is this possible, and or allowed? any informations on transferring the database/url etc?

i also didnt see an off switch anywhere for testing/updating that you usually see so im curious what the idea is.
__________________
business 5.3.1.6
nginx/arch_linux/php 5.6-7/mariaDB10
Reply With Quote
  #2  
Old 08-20-2016, 07:58 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: xcart test site policy?

You can install separate copy for testing/development free of charge. As long as it is not live and accessible by the public. You can place it in a subdirectory or subdomain - whatever works for you.
There is a switch top left to close the store
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 08-20-2016, 08:19 PM
 
Iggy Iggy is offline
 

Advanced Member
  
Join Date: Apr 2016
Posts: 50
 

Default Re: xcart test site policy?

great to hear it, thank you for the information

how about properly restoring the live sites database to a test installation? is there any documentation on this? btw we do have shell access and dedicated servers etc so its just a matter of ensuring the proper steps
__________________
business 5.3.1.6
nginx/arch_linux/php 5.6-7/mariaDB10
Reply With Quote
  #4  
Old 08-22-2016, 06:17 AM
  razortw's Avatar 
razortw razortw is offline
 

X-Cart team
  
Join Date: Feb 2015
Posts: 807
 

Default Re: xcart test site policy?

Quote:
Originally Posted by Iggy
how about properly restoring the live sites database to a test installation? is there any documentation on this? btw we do have shell access and dedicated servers etc so its just a matter of ensuring the proper steps
You just need to copy the files to a new location, and then dump the database and import the SQL file to the new one.
That's pretty much it.
__________________
Best regards,
Igor Pudovkin
X-Cart hosting team
Reply With Quote
  #5  
Old 08-22-2016, 01:08 PM
 
Iggy Iggy is offline
 

Advanced Member
  
Join Date: Apr 2016
Posts: 50
 

Default Re: xcart test site policy?

hmm, sorry im still just some confused...

so beyond the config.php file settings, there is nothing tying it to that url and the live database can be restored onto the test url is this correct?

i have worked with other softwares that it was required to change admincp settings,(while leaving browser open) THEN dump the sql so that the db restore will properly align to the test url...is why i ask...

thanks
__________________
business 5.3.1.6
nginx/arch_linux/php 5.6-7/mariaDB10
Reply With Quote
  #6  
Old 08-24-2016, 03:52 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: xcart test site policy?

You don't need to change anything in the admin, the URL is not stored in the DB.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #7  
Old 08-26-2016, 02:23 AM
 
herber@wirehub.nl herber@wirehub.nl is offline
 

eXpert
  
Join Date: Nov 2002
Posts: 305
 

Default Re: xcart test site policy?

We do this all the time for our test server.
-Export/import SQL database
- Rsync the entire X-Cart folder
- Manually edit the config.php to adjust the URL to the URL of your testserver location (ours is a server in our internal network, not accessible from outside, so no need to close the store on the testserver).

That's it.
__________________
X-Cart 4.7.12
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > General questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 07:51 AM.

   

 
X-Cart forums © 2001-2020