Deployment
Introduction
Deploying a Sukarix application involves several steps to ensure your code is properly set up on the production server.
Sukarix Deployment Basics
-
Upload Your Code:
- Transfer your application's codebase to the production server using your preferred method (e.g., FTP, SCP, or Git).
-
Ensure
sukarix.sh
is in thetools
Directory:- Make sure the
sukarix.sh
script is located in thetools
directory of your application.
- Make sure the
-
Run the Deployment Script:
- Execute the deployment script with the
-d
option:./tools/sukarix.sh -d
- This command performs the following actions:
- Pulls the latest code from the Git repository.
- Runs Composer to install dependencies.
- Applies default permissions to the
www-data
user. - Runs database migrations.
- Clears the application cache.
- Execute the deployment script with the