This guide will go through the deployment of a un-modified instance of Telescope, but if you’ve applied some modifications to it, it should work the same manner.
Before doing this tutorial you should have setup your environment:
Setup the SSH authentication, it has to be done to let you
pushyour application on the platform.
- Install ‘scalingo’ Command Line Interface
Clone the Telescope Project
The first thing to do, if you haven’t done it, is to get the code of Telescope:
$ git clone https://github.com/TelescopeJS/Telescope $ cd Telescope
Create an application on Scalingo
$ scalingo create my-app Git repository detected: remote scalingo added → 'git push scalingo master' to deploy your app
Allocate a MongoDB database
The Meteor framework uses extensively MongoDB as a database. Hence you need to provision a new instance of this database to your application.
$ scalingo -a my-app addons-add scalingo-mongodb mongo-sandbox -----> Addon scalingo-mongodb has been provisionned ID: my-app-1234 Modified variables: [MONGO_URL SCALINGO_MONGO_URL] Message from addon provider: Database successfully created
Deploy your Telescope
$ git push scalingo master
Access your application
At the end of the deployment process, an URL is returned, you application is now live.
… Waiting for your application to boot... <-- https://my-app.scalingo.io -->