How do you move a Winter CMS site from a local server to a production server? #268
-
Hello, i am new in winter cms. i haven't any idea for migration. Thank You. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
There is not that much to do, but it depends on your webserver. If you can run composer on it
If there are many database data that you need to transfer, just export/import the data (without the tables structures) through phpmyadmin or equivalent. If you can't run
|
Beta Was this translation helpful? Give feedback.
-
Quick and dirtyUse this method if you're not comfortable using command line interfaces or working with CI / CD techniques / platforms:
Automated Deployments via CI/CDThis could be a whole article in and of itself but the basics boil down the following: Project structure
CI / CD Recommendations
Deployment Steps
Some CI / CD services for your reference |
Beta Was this translation helpful? Give feedback.
Quick and dirty
Use this method if you're not comfortable using command line interfaces or working with CI / CD techniques / platforms:
.htaccess
,.env
,.gitignore
,.git
, etc.public_html
)storage
folder), migrate the database to the server using whatever methods you're most comfortable with and change the configuration values in either.env
orconfig/database.php
…