Migrate with GitHub Sync

Move your Rocket.new app to Replit by syncing the task to GitHub, then importing and deploying from that repository.

To migrate your application from Rocket to another hosting provider, please follow the steps below. For this demonstration, we're using GitHub and Replit as examples.

Prefer Vercel instead? See Migrate with GitHub Sync (Vercel) or Migrate with code download.


Step 1: Sync your task/application with GitHub

Open your project in Rocket. Click on the GitHub icon and configure your GitHub account. For the full connect flow, see GitHub Integration.

Once your GitHub account is successfully connected, click the Push Task button. Your project will be synced to your connected GitHub repository.


Step 2: Import and Deploy your application on Replit

Sign in to Replit. Log in to your Replit account.

Visit Replit Import, select GitHub, and connect your GitHub account.

Choose the GitHub repository synced in Step 1 and click Import.

Go to Tools → Secrets and add all the environment variables from your Rocket .env file.

Open Publish, select the appropriate deployment type, configure production secrets, and click Deploy.

Open your Replit deployment URL and check that everything works correctly.


Step 3: Connect your custom domain on Replit

Go to Deployments → Settings → Link a domain.

Enter your custom domain name.

Copy the DNS records provided by Replit and add them to your domain provider (GoDaddy, Namecheap, etc.).

Wait for DNS propagation and SSL configuration.

Open your custom domain and verify that your application is working correctly.


Video Demonstration

Please refer to the video demonstration for a visual walkthrough of the migration process. If you need any assistance during migration, feel free to reach out. We'll be happy to guide you through the process.


On this page