JHipster module, Jhipster CockroachDB
This is a JHipster module, that is meant to be used in a JHipster application.
As this is a JHipster module, we expect you have JHipster and its related tools already installed:
To install this module:
yarn global add generator-jhipster-cockroachdb
To update this module:
yarn global upgrade generator-jhipster-cockroachdb
To install this module:
npm install -g generator-jhipster-cockroachdb
To update this module:
npm update -g generator-jhipster-cockroachdb
yo jhipster-cockroachdb
Download the Dockerfile:
mkdir docker
cd docker
wget https://github.com/yeoman-projects/generator-jhipster-cockroachdb/raw/master/Dockerfile
Build the Docker images:
docker build -t generator-jhipster-cockroachdb:latest .
Make a folder where you want to generate the Service:
mkdir service
cd service
Run the generator from image to generate service:
docker run -it --rm -v $PWD:/home/jhipster/app generator-jhipster-cockroachdb
Run and attach interactive shell to the generator docker container to work from inside the running container:
docker run -it --rm -v $PWD:/home/jhipster/app generator-jhipster-cockroachdb /bin/bash
Apache-2.0 © Clément Tamisier