Replies: 1 comment 3 replies
-
A lot of developers prefer to automate deployment as part of the CI/CD pipeline (after any tests pass of course). Check out PHP Deployer, it's fairly straight-forward and can use in a pipeline or 'manually' via the terminal. If you do choose to include |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys,
being a .NET developer trying to learn new stuff, I still have to get my head around some questions concerning statamic deployment and the tools involved. I'd be glad if someone could share their opinions with me!
As for the deployment, I imagine the following workflow example:
composer install
to get all dependencies, Runnpm run dev
and serve withphp artisan serve
npm run prod
.a. If this is the first time, or a dependency has changed, run composer install/update
b. else continue
Right so far?
Now, if someone now changes content in the production environment via control panel, /content will change, and it would be best for me to sync these changes back to my local environment - is that correct?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions