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

Clever Cloud and Vates: Two French champions join forces to create comprehensive and autonomous cloud solutions

Nantes and Grenoble, May 23, 2024 - Clever Cloud and Vates are announcing today a partnership aimed at strengthening the strategic autonomy of the cloud in France and Europe.
Press

The Values and Policies of Personal Information Chair at Institut Mines-Télécom welcomes Clever Cloud among its sponsors

The Institut Mines-Télécom's Values and Policies of Personal Information (VP-IP) Chair conducts research into the issues surrounding the processing of personal data, digital identities and sovereignty, in a context of European regulation.
Press

Clever Cloud launches “UP”, a generous program dedicated to startups at VivaTech

Nantes, France - May 20, 2024 - Clever Cloud, French creator of deployment and hosting solutions in PaaS (Platform as a Service) mode, announces the launch of its new support program for startups, named “UP”. The initiative will be unveiled this Wednesday at the flagship event for technological innovation, VivaTech, in Paris.
Press