Blog

One-click deploy everything on Scalingo

Chargement...

5 min read

One-click deploy everything on Scalingo

Deploying various projects whose source is hosted on Github is now just one click away with our new “one-click deploy” feature.

Deploying various projects whose source is hosted on Github is now just one click away with our new “one-click deploy” feature.

With this new feature, you just have to write a small JSON file placed at the root of your Github repository to make it an automatically deployable application on Scalingo.

How does it work?

When a user visits an URL like https://my.scalingo.com/deploy?source=https://github.com/TelescopeJS/sample-project/, the Dashboard will call the Github API to fetch a scalingo.json hosted at the root of the Github repository referenced in the source parameter of the URL and display the settings page accordingly:



Meteor Telescope app example Scalingo one-click deploy button



The Dasboard will also call Scalingo’s API to display the correct addons information.

The user can then choose it’s project name (and .scalingo.io subdomain accordingly) and install the application.

Anatomy of a scalingo.json file

Everything is explained in this page of our Documentation Center but here is an example to deploy the famous Telescope app written in Meteor:

{
"name": "Telescope",
"description": "An open-source community app built with Meteor",
"repository": "https://github.com/TelescopeJS/sample-project/",
"logo": "http://www.telescopeapp.org/images/logo.png",
"website": "http://www.telescopeapp.org/",
"addons": ["scalingo-mongodb"]
}
{
"name": "Telescope",
"description": "An open-source community app built with Meteor",
"repository": "https://github.com/TelescopeJS/sample-project/",
"logo": "http://www.telescopeapp.org/images/logo.png",
"website": "http://www.telescopeapp.org/",
"addons": ["scalingo-mongodb"]
}
{
"name": "Telescope",
"description": "An open-source community app built with Meteor",
"repository": "https://github.com/TelescopeJS/sample-project/",
"logo": "http://www.telescopeapp.org/images/logo.png",
"website": "http://www.telescopeapp.org/",
"addons": ["scalingo-mongodb"]
}
{
"name": "Telescope",
"description": "An open-source community app built with Meteor",
"repository": "https://github.com/TelescopeJS/sample-project/",
"logo": "http://www.telescopeapp.org/images/logo.png",
"website": "http://www.telescopeapp.org/",
"addons": ["scalingo-mongodb"]
}

Each field is self-explanatory:

  • name is the displayable name of your app

  • description is a small text describing your app

  • repository is the URL of the target Github repo

  • logo is the logo of your app

  • website is the official URL of your app (not to be confused with the URL your app will get after its deployment on Scalingo)

  • addons: the list of addons your app needs to run on Scalingo

You can now make a link to our dashboard to help deploy your app on Scalingo. Here is such a link: https://my.scalingo.com/deploy?source=https://github.com/TelescopeJS/sample-project/.

Scalingo deploy button

Of course, we provide a lovely button which you can use freely to help you orient your users:


Scalingo one click deploy button

URL is : https://cdn.scalingo.com/deploy/button.svg. Thanks to Sébastien Lorentz from Good Morning Major for the design!

List of applications already one-click deployable

Here is a small list of open source web applications that are already one-click deployable (just click on their logo to deploy them!).


telescope logo

TelescopeAn open-source community app built with Meteor


wekan logo

WekanThe open-source Trello-like kanban (build with Meteor)


Baikal logo

BaikalBaïkal 2 is a Calendar+Contacts server + web client written in PHP


Rocket.Chat logo

Rocket.ChatHave your own open-source Slack-like online chat, built with Meteor.

Yann Klis

Yann Klis co-founded Scalingo. Scalingo's vision is to offer a european sovereign cloud housting platform for developers. Today Scalingo hosts thousands of web applications from customers located all over the world. Before that Yann founded Novelys a web studio specialised in Ruby on Rails technology.

Stay Updated

Get articles and platform updates in your inbox.

Ready to Deploy with Confidence?

Experience zero-downtime deployments, intelligent auto-scaling, and fully managed infrastructure. Start deploying your applications on Scalingo today.

No credit card required • Deploy in minutes • Cancel anytime

Deploy your first app or database

Let's start building together

Join developers who chose a platform built for fast delivery and calm production, with European values and human support.

Deploy your first app or database

Let's start building together

Join developers who chose a platform built for fast delivery and calm production, with European values and human support.

Deploy your first app or database

Let's start building together

Join developers who chose a platform built for fast delivery and calm production, with European values and human support.