Now your app is tested and ready to be published so anyone can use it.
The best place to run your Meteor app is Galaxy. Galaxy offers free deploy. Cool, right?
If you have any trouble on this step you should send an email to Galaxy support and they are going to help you, send your message to
email@example.com. Try to explain in details what is the issue and you are going to receive help as soon as possible. Also make sure you include in the subject:
Svelte Tutorialso you know where are you coming from.
Do you have a Meteor Cloud Account? No? Ok, let’s fix it.
Go to cloud.meteor.com. You are going to see a form like this:
Sign up with GitHub and proceed from there. It’s just going to ask you an username and password, you will need those to deploy your app.
Now you are ready to deploy, make sure you run
meteor npm install before deploying to make sure all your dependencies are installed.
You also need to choose a sub-domain to publish your app. We are going to use the main domain
meteorapp.com that is free and included on any Galaxy plan.
In this example we are going to use
svelte-tutorial.meteorapp.com but make sure you select a different one, otherwise you are going to receive an error saying it is already used.
You can learn how to use custom domains on Galaxy here. Custom domains are available from starting in the Essentials plan.
Run the deploy command:
meteor deploy svelte-tutorial.meteorapp.com --free --mongo
Make sure you replace
svelte-tutorial by a custom name that you want as sub-domain.
You are going to see a log like this:
meteor deploy svelte-tutorial.meteorapp.com --free --mongo Talking to Galaxy servers at https://us-east-1.galaxy-deploy.meteor.com Preparing to build your app... Preparing to upload your app... Uploaded app bundle for new app at svelte-tutorial.meteorapp.com. Galaxy is building the app into a native image. Waiting for deployment updates from Galaxy... Building app image... Deploying app... You have successfully deployed the first version of your app. *** Your MongoDB shared instance database URI will be here as well *** For details, visit https://galaxy.meteor.com/app/svelte-tutorial.meteorapp.com
This process usually takes around 5 minutes but it depends on your internet speed as it’s going to send your app bundle to Galaxy servers.
Galaxy builds a new Docker image that contains your app bundle and then deploy containers using it, read more
You can check your logs on Galaxy, including the part that Galaxy is building your Docker image and deploying it.
Now you should be able to access your Galaxy dashboard at
svelte-tutorial with your sub-domain)
And, of course, be able to access and use your app in the domain that you chose, in our case here svelte-tutorial.meteorapp.com. Congrats!
We deployed to Galaxy running in the US (us-east-1), we also have Galaxy running in other regions in the world, check the list here
This is huge, you have your Meteor app running on Galaxy, ready to be used by anyone in the world!
Review: you can check how your code should be at the end of this step here
In the next step we are going to provide some ideas for you to continue developing your app and more content to see next.