DeployEase is a powerful CLI tool that simplifies the deployment of frontend applications to multiple hosting platforms with just one command.
- π― One-command deployment to multiple platforms
- π Automatic platform detection
- π οΈ Automatic CLI tool installation
- π Seamless authentication handling
- βοΈ Configuration file generation
- π» Interactive platform selection
- Netlify
- Vercel
- Firebase
- GitHub Pages
- Cloudflare Pages
- Render
- Railway
- Koyeb
You can install DeployEase globally for system-wide use or as a dev dependency within a project.
To use DeployEase from anywhere in your terminal, install it globally:
npm install -g deployeaseyarn global add deployeasepnpm add -g deployeasebun add -g deployeaseIf you prefer to use DeployEase within a project (e.g., in package.json scripts), install it as a dev dependency:
npm install --save-dev deployeaseyarn add -D deployeasepnpm add -D deployeasebun add -D deployeaseThen, you can add a script in package.json for deployment:
{
"scripts": {
"deploy": "deployease deploy"
}
}Run it with:
npm run deployDeployEase uses a modular architecture:
src/core/- Core functionality (detection, auth, installation)src/platforms/- Platform-specific implementationssrc/utils/- Shared utilitiestests/- Unit and integration tests
Run tests:
npm testAdd new platform:
- Create class in
src/platforms/yourplatform.jsextending Platform - Implement required methods (detect, authenticate, deploy)
- Add to
src/platforms/index.js - Add tests
DeployEase provides a simple command to deploy your frontend projects:
deployease deploy- Navigate to your project directory:
cd your-project-directory- Deploy your project:
deployease deploy-
Platform Detection: DeployEase automatically detects your deployment platform based on configuration files:
netlify.tomlβ Netlifyvercel.jsonβ Vercelfirebase.jsonβ Firebase.github/workflowsβ GitHub Pagescloudflare-pages.tomlβ Cloudflare Pagesrender.yamlβ Renderrailway.jsonβ Railwaykoyeb.yamlβ Koyeb
-
Interactive Selection: If no platform is detected, you'll be prompted to choose one.
-
Automatic Setup: DeployEase will:
- Install required CLI tools if missing
- Handle authentication if needed
- Create necessary configuration files
- Deploy your application
- Automatic CLI setup and authentication
- Supports custom build commands and environment variables
- Handles redirects and headers configuration
- Zero-config deployments for Next.js, React, Vue, and more
- Team deployment support
- Environment variable management
- Interactive Firebase project setup
- Hosting configuration management
- Supports multiple site deployments
- Automatic gh-pages setup
- Handles build process
- Custom domain support
- Supports both Pages and Workers
- Automatic Wrangler CLI configuration
- Custom build settings
- Git-based deployments
- Environment variable configuration
- Build and start command setup
- Automatic project linking
- Environment setup
- Service deployment management
- Container-based deployments
- Environment configuration
- Service scaling support
- Node.js 14 or higher
- npm (or yarn/pnpm/bun)
- Git (for certain platforms)
If you encounter issues:
-
Authentication Issues
- Run
deployease deployagain - The tool will guide you through the login process
- Run
-
Missing Dependencies
- DeployEase will automatically install required CLIs
- If manual installation is needed, follow the prompts
-
Build Errors
- Check if your build command is correct
- Verify your project structure
- Ensure all dependencies are installed
-
Deployment Failures
- Check your internet connection
- Verify platform-specific requirements
- Follow the error messages guidance
Contributions are welcome! Feel free to:
- Open issues
- Submit pull requests
- Suggest new features
- Improve documentation
ISC License
David Mgbede
Made with β€οΈ by DeployEase Team