Jump to content

[SOLVED] Develop on localHost (xampp) and deploy on live webserver


chup

Recommended Posts

Hi all, this is my 1st post here =]


Im trying to create a store with presta shop running on a staging server, my local host via XAMPP. Once it is done, how do i put it online for testing?

I've upload all the file via ftp to the sever, and and export the database from my XAMPP's phpMyAdmin and import to the live server database, but where else should i change? What other configuration files should i update?

Is there anyone with experience and a step by step guide to follow?


Thanks
chup

Link to comment
Share on other sites

Thanks!

This is my step by step guide, hope this will be useful for others reference





Presta Shop - Local Development (XAMPP) to live server


Part 1 - Database
1) Create username and database in live server

2) Export database on XAMPP’s phpMyAdmin in .sql format

3) Do a find & replace old database name to new database name (there should be 1 instance only)

4) Login to the live server’s phpMyAdmin, import in the updated database


Part 2 – Content
1) Edit config/settings.inc.php with your live server’s database details. Line 3, 5, 6, 7, 9.

2) Upload all file via ftp to live server

3) Website should be live

  • Like 1
Link to comment
Share on other sites

  • 1 year later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...