Move to a New Server

In this document we will explain how you can move your current Quick Code instance to a new server without losing any user generate content or media files.

  1. Compress the root directory in your current hosting.
  2. Download the compressed file.
  3. Upload the file to the web directory on the new hosting.
  4. Export the database from the old server.
  5. Import the database in the new server.
  6. Update the .env file and replace all occurences of the old domain with the new domain, keep the .env file open.
  7. Replace the old database credentials with the new ones, search for lines starting with DB_ . Then you can save and close the .env file.
  8. Update the database, open domains table and update the default domain record.
  9. Delete the following file: bootstrap/cache/config.php
  10. Manually redo the cronjob setup on the new server.