Update in VPS
Updating on a VPS server is fully optional. You can skip this page if you are not using a VPS server.
This section explains how to update your existing VPS installation using the provided update package.
Before You Start
Make sure:
- Your project is already running on VPS
- Docker and Docker Compose are installed
- You have access to your server via SSH
Update Process
Follow the steps below carefully.
1. Open the Package Folder
Open the downloaded project package on your local machine.
You will find the following file:
Update_Docker.zip2. Upload the Update File
Upload the Update_Docker.zip file to the root directory of your VPS project (where the docker-compose.yml file exists).
3. Unzip the File on Server
SSH into your VPS and navigate to your project root directory.
Run the following command:
bash
unzip Update_Docker.zipThis will replace the necessary Docker files with the updated version.
4. Rebuild and Run Docker
After unzipping, run the following command:
bash
sudo docker-compose up -d --buildThis command will:
- Rebuild Docker containers
- Apply the updated changes
- Restart your application
Update Completed
Once the build process finishes, your website will be successfully updated.
You can now open your domain in the browser and verify the updated version.