Back to clever-cloud.com

Well, if you need some logos, we provide these:

svg ·  png
Red Clever Cloud logo
svg ·  png
svg ·  png
White Clever Cloud logo
svg · png
White Clever Cloud logo
svg · png
Posted at November 14, 2017 — Features

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?

Tags:

Laurent Doguin

Head of Developer Relation @clever_cloud. Devoxx Champion. I am also a nerdy metal head living in Paris.

Check out our Blog

We write about programming, security and Clever Cloud products

Join thousands of developers already using Clever Cloud. And try it for free!

Create your account now to start your apps and collaborate within a few minutes. For free with 20€ offered.

By signing up, your agree to our terms of use
Or
Sign in with Github