How to migrate from Heroku

Scalingo is a Platform as a Service highly compatible with Heroku. This page is here to help you migrate from Heroku to Scalingo as easily as possible.

Requirements

To be able to follow this tutorial, we assume that you have:

Please ensure you are running all commands above from the root of the repository containing your app’s code.

$ cd <app directory>

All operations described below can also be executed through our dashboard.

Migration Steps

Creating your Scalingo app

  • Start by logging in to the Scalingo platform using our CLI:
$ scalingo login
  • You can now create your app:
# Replace my-app with your actual app name
$ scalingo create my-app

Configure Environment Variables

  • First, retrieve the environment variables from your current Heroku app context:
$ heroku config
  • Those environment variables need to be declared in your Scalingo app context. For instance, this command will set the NODE_ENV environment variable:
$ scalingo --app my-app env-set NODE_ENV=production

More information about environment variables can be found in the dedicated documentation page.

Deploying Your App

  • You are now ready to deploy your app on Scalingo:
$ git push scalingo master

Database Migration

Where to Go Next?

Need Some Help?

Have questions or need to report an issue? Feel free to reach our support team for further assistance through our live chat or by sending an email to support@scalingo.com.


Suggest edits

How to migrate from Heroku

©2024 Scalingo