How to migrate from Heroku

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

Requirements

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

  • A Scalingo account
  • The Scalingo CLI installed
  • A local copy of the repository containing your app’s code

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

$ cd <app directory>

Note: All operations described below can also be done through our web dashboard (instead of the command line tool).

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 by 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 environnement 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