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

Deploy Brinjel on Clever Cloud

Brinjel is an open-source field management software designed for market gardeners, helping them plan seasons, track harvests, and optimize agricultural production. Created by and for market gardeners, it emphasizes an intuitive interface and features tailored to real-world needs.
Company

Simplify the management of Clever Cloud services via Kubernetes with our new operator

For the past two years, we've been enabling our customers to combine the ease of deployment of Clever Cloud with an existing Kubernetes infrastructure through an operator.
Engineering

Keycloak as a Service: identity management without the complexity

Ensuring identification and access management (IAM) in an application is a challenge that is as strategic as it is complex. But beyond the initial configuration, it is the maintenance, updates and supervision of the solution that most mobilise your teams. What if you could concentrate on your applications... while a managed solution took care of the rest?
Company