0.2.1 • Published 5 months ago
@rocketdeploy/cli v0.2.1
🚀 RocketDeploy CLI
Instant mobile app updates without app store approval
RocketDeploy is a powerful code push service that enables you to deploy mobile app updates directly to your users' devices instantly. Skip the app store review process and deliver critical updates and new features in real-time.
🌐 Website
Visit our official website: https://rocketdeploy.io
⚡ Quick Start
Installation
# Global installation (recommended)
npm install -g @rocketdeploy/cli
# Local installation
npm install @rocketdeploy/cliBasic Usage
# Login to RocketDeploy
rocketdeploy login
# Create a new app
rocketdeploy app add MyApp
# List your apps
rocketdeploy app list
# Create deployments
rocketdeploy deployment add MyApp Staging
rocketdeploy deployment add MyApp Production
# Release an update
rocketdeploy release-react MyApp Production📱 Supported Platforms
- ✅ React Native (iOS & Android)
- ✅ Cordova/PhoneGap (iOS & Android)
- ✅ Ionic (iOS & Android)
🛠️ Key Features
🎯 Instant Updates
- Deploy JavaScript bundles without app store approval
- Critical bug fixes reach users in minutes, not days
- A/B testing with gradual rollouts
🔒 Enterprise Ready
- Role-based access control
- Deployment history and rollback
- Integration with CI/CD pipelines
📊 Analytics & Monitoring
- Real-time deployment metrics
- Error tracking and crash reports
- User adoption analytics
🌍 Global CDN
- Fast download speeds worldwide
- 99.9% uptime guarantee
- Automatic failover
📚 Commands
Authentication
rocketdeploy login # Login to RocketDeploy
rocketdeploy logout # Logout from current session
rocketdeploy register # Create a new accountApp Management
rocketdeploy app add <name> # Create a new app
rocketdeploy app list # List all apps
rocketdeploy app remove <name> # Delete an app
rocketdeploy app rename <old> <new> # Rename an appDeployment Management
rocketdeploy deployment add <app> <name> # Create deployment
rocketdeploy deployment list <app> # List deployments
rocketdeploy deployment history <app> <dep> # View release history
rocketdeploy deployment clear <app> <dep> # Clear deployment historyReleasing Updates
rocketdeploy release-react <app> <deployment> # Release React Native update
rocketdeploy release <app> <deployment> # Release generic update
rocketdeploy promote <app> <from> <to> # Promote between deployments
rocketdeploy rollback <app> <deployment> # Rollback to previous version🔧 Configuration
Setting up your React Native app
Install the client SDK:
npm install react-native-code-pushConfigure for iOS:
// ios/YourApp/AppDelegate.m #import <CodePush/CodePush.h> - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge { #ifdef DEBUG return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil]; #else return [CodePush bundleURL]; #endif }Configure for Android:
// android/app/src/main/java/.../MainApplication.java import com.microsoft.codepush.react.CodePush; @Override protected String getJSBundleFile() { return CodePush.getJSBundleFile(); }Add to your React Native component:
import codePush from 'react-native-code-push'; class MyApp extends Component { componentDidMount() { codePush.sync(); } } export default codePush(MyApp);
🏢 Enterprise Solutions
Need enterprise features? Contact our sales team:
- Email: enterprise@rocketdeploy.io
- Phone: +1 (555) 123-4567
- Custom deployments and on-premise solutions available
🤝 Community & Support
- 📖 Documentation: docs.rocketdeploy.io
- 📧 Support: tom.chae@gmail.com
- 🌐 Website: rocketdeploy.io
📄 License
MIT License - see the LICENSE file for details.