Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »

Learn how to deploy on Galaxy by setting up Push to Deploy, the easiest and fastest way to deploy your Meteor app. If you want to deploy using our CLI, you can find out how on this page.

Sign up for Meteor Cloud

To deploy your apps, you need a Meteor Cloud account. If you don’t have one yet, you can sign up here.

Deploy a new app

Begin by accessing your Meteor Cloud account. On your home page, you can see the section “Ready to deploy a new app?” and click on “Deploy new app”.

Screenshot 2024-04-19 at 11.33.37.png

Import Git Repository

You will be taken to the app configuration page:

Screenshot 2024-04-19 at 11.31.58.png

Choose the Git Repository (GitHub, Bitbucket, or GitLab) where your app is located. An authentication popup will appear, letting you select the account or organization to grant access. You don't need to provide access to all your repositories, but you can adjust permissions later in GitHub/Bitbucket/GitLab to add more repositories.

Pick a Repository

After linking your git provider, you'll move to the second step automatically. Select your Git Account from your Git provider, then pick a repository containing the Meteor app you wish to deploy.

Screenshot 2024-04-19 at 11.49.39.png

Now, click "Next Step" to reach the third and final step.

Final Settings & Deploy

In this final step, finalize your settings to deploy your app. Select the Meteor Account to determine which Galaxy (Meteor Cloud) account your app will deploy to. Next, choose the Plan & Container Size you wish to use. Details about the plans are available on our pricing page.

We advise you not to use the Free plan for production applications, as it offers a limited container that shuts down when your app is inactive.

Screenshot 2024-04-19 at 11.59.37.png

Next, select a Region. Make sure your database is in the same region to avoid latency and improve your app's speed. Then, choose your App URL (hostname) and the domain for your app.

Screenshot 2024-04-19 at 12.05.03.png

On the free plan, you're required to use meteorapp.com as the main domain and specify a subdomain. With a paid plan, any domain is allowed. If you opt for a custom domain, you must set up your DNS; learn how here. For paid apps, you also have the option to use meteorapp.com and only specify a subdomain, allowing you to configure your DNS later.

Deploy Options

In the "Deploy Options" section, select the amount of memory for app deployment under Build Container RAM and choose your deployment branch. Any commit to this branch will automatically trigger a new deployment.

You also have the option to use our free shared MongoDB Cluster, which is recommended only for testing, not for production apps.

Screenshot 2024-04-19 at 12.15.07.png

With everything set, click on "Deploy App" to launch the first version of your app! 🎉

You can also follow along to learn about the Advanced Options.

Advanced Options

Under "Advanced Options," you can configure:

  • Meteor Settings: Set initial app settings in JSON format for deployment.

  • Root Directory: Indicate the Meteor app's root in your repository.

  • Pre Deploy Command: Use this command, typically "meteor npm install --production," to install app dependencies.

  • Deploy Arguments: Provide additional arguments for your deploy command.

  • Environment Variables: Specify variables, like deployment region, for your app.

Screenshot 2024-04-19 at 12.18.54.png
  • No labels