Create the apps directory
When you first open the VPS terminal, create a folder to hold all your projects:Clone all repositories
Run CI/CD
Each project has its own CI/CD pipeline (GitHub Actions, GitLab CI, etc.) configured in the repo. Once cloned, the pipeline will automatically:- Install dependencies (
pnpm install) - Run builds (
pnpm build) - Run migrations (Prisma for PostgreSQL projects)
- Start the apps under PM2
Make sure environment files (
.env) are set up in each project directory with the correct database, Redis, and API credentials before triggering the pipeline.Verify all apps are running: