New JHipster Clever Cloud Generator

There has been some demand for a JHipster Clever Cloud generator. We started working on it and it's now avaiable on the JHipster marketplace as a module.

What is JHipster?

JHipster is a development platform to generate, develop and deploy Spring Boot + Angular Web applications and Spring microservices.

Simply put, JHipster will scafold a new Spring Boot + Angular project based on your answers to a series of questions. Among those questions you'll get to choose if you want to use Maven or Gradle and which database you want among other things. These two basic choices will determine how you deploy your application on Clever Cloud.

This is where the jhipster-clevercloud generator comes in handy. It will generate the appropriate configuration and create the right application and addon. The current flow of question is simple.

  • Choose the organisation or user to deploy the project
  • Choose the region where to deploy it
  • Give it a name (or reuse an already linked application)
  • Decide if you want Clever Cloud to manage the database
    • If yes, it will be detected and will let you choose the appropriate plan
    • If no, you will have to manage the DB configuration yourself

Please note that the only DBs supported so far are PostgreSQL, MySQL and MsSQL.

Once the generator does its magic, you are left with a clevercloud folder containing the specifics. All you have to do then is to commit those changes and run clever deploy.

How to

Prerequisites

As this is a JHipster module, we expect you have JHipster and its related tools already installed. Make sure you have also installed clever-tools and that you have already ran clever login. The generator uses it heavily and won't work if it's not available.

Installation

To install this module:

npm install -g generator-jhipster-clevercloud

To update this module:

npm update -g generator-jhipster-clevercloud

Usage

To run the module on a JHipster generated application:

yo jhipster-clevercloud

What's next?

We plan to add support for other databases and third-parties once they are publicly supported by Clever Cloud. Think Elasticsearch, RabbitMQ, Kafka etc..

This project is in early stage and we would love to have your feedback. What would you like to do with it?

Blog

À lire également

SuperBOL: The COBOL revolution in the Cloud

COBOL, a programming language that is over 60 years old, continues to power a large proportion of the IT systems of the world's major companies, particularly in the financial and insurance sectors.
Features

Clever Cloud welcomes the first startups to the UP Programme

Clever Cloud is proud to announce the arrival of the first five startups selected to join its UP Programme, an initiative dedicated to supporting young technology companies in their growth phase.
Company

A minor update resulted in a cascade of errors: how it went wrong, what we’ve learnt

On Friday, August 2nd, 2024 Clever Cloud’s platform became very unstable, leading to downtime of varying duration and scope, for customers using services on the EU-FR-1 (PAR) region, and remote zones depending on the EU-FR-1 control plane (OVHcloud, Scaleway, and Oracle). Privates and on-premise zones weren’t impacted.
Company Engineering