dou-cli

A simple cli for creating and setting up projects in a modular way. Using this tool will provide you with a quick and easy way to settup and initialize any of the [Digital On Us](http://www.digitalonus.com) existing base projects.

Usage no npm install needed!

<script type="module">
  import douCli from 'https://cdn.skypack.dev/dou-cli';
</script>

README

dou-cli

A simple cli for creating and setting up projects in a modular way. Using this tool will provide you with a quick and easy way to settup and initialize any of the Digital On Us existing base projects.

Installation

npm install -g dou-cli

Create

dou create --name <ProjectName>

dou create commmand will create an app, auth, and server folders in the current directory with the default configurations for each of these.

Status

dou status

status will print the the status of the docker containers including health and port. Same as docker ps.

Start

dou start

start command will start the application as well as strapi and keycloak containers on the same ports saved on .env file.

Stop

dou stop

stop command will stop any container that was created for the application services.

Additional Requirements

Docker is required if you desire to use the auth service creation. Download here. Be sure to be running docker when using the cli.

Examples

dou create --name example

This would setup the app folder with example as name.