henryyao Posted January 22, 2015 Share Posted January 22, 2015 Hi, I am new to prestashop development and I am wondering what is the best practice to develop in local environment and deploy to remote production server? Do I have to download the production DB and make a replica locally? Is there anyway to have local php code to connect to remote DB? From my understanding ps_shop_url setting prevents me from doing that. Is there any walk around? I don't like the idea that I have to regularly download /img and database to make the localshop work the same as production. Any suggestions? Thanks, Henry Link to comment Share on other sites More sharing options...
tuk66 Posted January 24, 2015 Share Posted January 24, 2015 Use automatization tools to create a local copy and upload back to your server. You should have a local web server as well as database server. Technically, it is possible to link to remote DB, but it will be too slooow. Of course, very few hosting providers offer remote access to their database servers. Link to comment Share on other sites More sharing options...
henryyao Posted January 24, 2015 Author Share Posted January 24, 2015 utk66, you are right, it is really sloooow... I made it work, and it took like 20 secs to open the home page. not worth it. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now