Skip to content

How do you move a Winter CMS site from a local server to a production server? #268

Answered by LukeTowers
spanjaan asked this question in Q&A
Discussion options

You must be logged in to vote

Quick and dirty

Use this method if you're not comfortable using command line interfaces or working with CI / CD techniques / platforms:

  1. Zip all of the project files into a single zipped file (make sure you include the hidden files and folders like .htaccess, .env, .gitignore, .git, etc.
  2. Upload the zipped folder to the webroot on your server (i.e. public_html)
  3. Unzip the folder's contents into the webroot on your server
  4. If you're using a database (and it wasn't already migrated; i.e. SQLite stored as a file in the storage folder), migrate the database to the server using whatever methods you're most comfortable with and change the configuration values in either .env or config/database.php

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@spanjaan
Comment options

@LukeTowers
Comment options

Answer selected by LukeTowers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants