Get Started with Deployment
Prisma PHP supports multiple deployment strategies to suit a wide range of environments, whether you're using shared hosting, custom servers, or containerized systems. Below are the available options to get your project running in production:
📦 Traditional Deployment
Use ZIP files or FTP to upload your project to a shared hosting environment like cPanel
. This is the most common method for shared hosting platforms.
- Run
npm run build
- Upload via FileZilla or File Manager
- Exclude
node_modules/
🔄 GitHub Actions
Automate your deployments using GitHub Actions. Ideal for CI/CD pipelines with either:
- Deploying to custom servers via SSH
- Deploying to shared cPanel via Git integration
🐳 Docker Deployment
Use Docker for a consistent development and deployment environment.
- Includes Dockerfile and docker-compose.yml
- Preconfigured Apache and MySQL
- Run
npm run dev
to start