Prerequisites
- You have completed the installation steps and have a working Unified CDN instance.
- You have a domain name and a server to host Unified CDN. This can be a VPS, cloud server, or any other hosting solution that supports Node.js.
Build step
- Node
- Docker
Before running any commands, make sure the
OUTPUT_METHOD variable in your .env file is set to node. This will ensure that Unified CDN is built for a Node.js environment.Hosting
Once the build step is completed, you can host it on your server.- Node
- Docker
unified-cdn. Use the name unified-cdn if you want to start, stop or restart Unified CDN with PM2. For example, to restart Unified CDN, run:Updates
When a new version of Unified CDN is released, you can update your instance by following these steps:1
Stop Unified CDN
- Node
- Docker
Stop Unified CDN with PM2:
2
Pull latest changes
Get the latest changes from the repository:
3
Install dependencies
- Node
- Docker
Install any new packages from the update:
4
Rebuild Unified CDN
- Node
- Docker
Rebuild Unified CDN to apply the updates:
5
Restart Unified CDN
- Node
- Docker
Restart Unified CDN with PM2: