You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create build jobs on Jenkins for each of our Framework app websites to enable a "proper" deployment system versus using git live on the server or some other adhoc deployment mechanism:
developer.joomla.org/stats (Stats Server)
framework.joomla.org
help.joomla.org
issues.joomla.org
Deployment workflow is pretty similar to this (this is generally how many deployment systems work and a workflow I'm using now for several projects):
Pull the repo's deployment branch (generally master)
Copy the resources to a staging area
Run composer install --no-dev -o
"Clean" non-production resources (i.e. test directories in the vendor folder, CI resources, assets used for compiling the template, local configuration if one is required, etc.)
Add any extra non-version controlled files to the staging area (i.e. the Framework site has a file tracking the deployed commit SHA to use as a query string for assets)
Package the staging area and transfer it to the remote server
Extract the package to the remote server's deployments area (basically create a deployments folder in the cPanel account and each deployment is in a subfolder of that using a timestamp)
Set up any symlinks for any project internals that should be persistent between deployments (i.e. a configuration file, or if it's chosen to use a persistent log directory versus one per deployment)
Symlink the public_html directory to the new deployment's web directory (generally www in our repos)
(Optional) Clear some disk space and remove old deployments
The text was updated successfully, but these errors were encountered:
Create build jobs on Jenkins for each of our Framework app websites to enable a "proper" deployment system versus using git live on the server or some other adhoc deployment mechanism:
Deployment workflow is pretty similar to this (this is generally how many deployment systems work and a workflow I'm using now for several projects):
composer install --no-dev -o
deployments
folder in the cPanel account and each deployment is in a subfolder of that using a timestamp)public_html
directory to the new deployment's web directory (generallywww
in our repos)The text was updated successfully, but these errors were encountered: