deployease
v6.0.1
Published
Deploy frontend apps easily
Maintainers
Readme
DeployEase - Deploy Frontend Apps Easily 🚀
DeployEase is a powerful CLI tool that simplifies the deployment of frontend applications to multiple hosting platforms with just one command.
Features ✨
- 🎯 One-command deployment to multiple platforms
- 🔍 Automatic platform detection
- 🛠️ Automatic CLI tool installation
- 🔐 Seamless authentication handling
- ⚙️ Configuration file generation
- 💻 Interactive platform selection
Supported Platforms 🌐
- Netlify
- Vercel
- Firebase
- GitHub Pages
- Cloudflare Pages
- Render
- Railway
- Koyeb
Installation 📦
You can install DeployEase globally for system-wide use or as a dev dependency within a project.
🌍 Global Installation (Recommended)
To use DeployEase from anywhere in your terminal, install it globally:
Using npm
npm install -g deployeaseUsing yarn
yarn global add deployeaseUsing pnpm
pnpm add -g deployeaseUsing bun
bun add -g deployease📦 Install as a Dev Dependency (Per Project)
If you prefer to use DeployEase within a project (e.g., in package.json scripts), install it as a dev dependency:
Using npm
npm install --save-dev deployeaseUsing yarn
yarn add -D deployeaseUsing pnpm
pnpm add -D deployeaseUsing bun
bun add -D deployeaseThen, you can add a script in package.json for deployment:
{
"scripts": {
"deploy": "deployease deploy"
}
}Run it with:
npm run deployArchitecture
DeployEase uses a modular architecture:
src/core/- Core functionality (detection, auth, installation)src/platforms/- Platform-specific implementationssrc/utils/- Shared utilitiestests/- Unit and integration tests
Development
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
Usage
DeployEase provides a simple command to deploy your frontend projects:
deployease deployUsage 🛠️
Quick Start
- Navigate to your project directory:
cd your-project-directory- Deploy your project:
deployease deployWhat Happens During Deployment
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
Platform-Specific Guide 📚
Netlify
- Automatic CLI setup and authentication
- Supports custom build commands and environment variables
- Handles redirects and headers configuration
Vercel
- Zero-config deployments for Next.js, React, Vue, and more
- Team deployment support
- Environment variable management
Firebase
- Interactive Firebase project setup
- Hosting configuration management
- Supports multiple site deployments
GitHub Pages
- Automatic gh-pages setup
- Handles build process
- Custom domain support
Cloudflare Pages
- Supports both Pages and Workers
- Automatic Wrangler CLI configuration
- Custom build settings
Render
- Git-based deployments
- Environment variable configuration
- Build and start command setup
Railway
- Automatic project linking
- Environment setup
- Service deployment management
Koyeb
- Container-based deployments
- Environment configuration
- Service scaling support
Requirements 📋
- Node.js 14 or higher
- npm (or yarn/pnpm/bun)
- Git (for certain platforms)
Troubleshooting 🔍
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
Contributing 🤝
Contributions are welcome! Feel free to:
- Open issues
- Submit pull requests
- Suggest new features
- Improve documentation
License 📄
ISC License
Author ✍️
David Mgbede
Made with ❤️ by DeployEase Team
