An open API service indexing awesome lists of open source software.

https://github.com/evilkiwi/devon

Docker-based Monorepo Local Development CLI
https://github.com/evilkiwi/devon

cli dev docker environment local monorepo

Last synced: about 1 year ago
JSON representation

Docker-based Monorepo Local Development CLI

Awesome Lists containing this project

README

          



NPM


Discord

GPL-3.0-only

Docker-based Monorepo Local Development CLI


`@evilkiwi/devon` is a node-based CLI tool aiming to bridge the gap between production and local development for monorepos.

- Configure multi-command Scripts for common development workflows
- Automate trusted local SSL certificates out-of-the-box
- Generate `.env` files automatically based on the target environment
- Run production-grade images locally without having to touch `docker` commands
- Bootstrap existing Monorepos with intelligent initialization
- TypeScript definitions/configs

## Installation

This package is available via NPM:

```bash
yarn global add @evilkiwi/devon

# or

npm install -g @evilkiwi/devon
```

**You also need to have Docker installed on your local machine.** It can be downloaded via [docker.com](https://www.docker.com/products/docker-desktop).

If you want `devon` to automate generating and installing local SSL Certificates, you also must [install mkcert](https://github.com/FiloSottile/mkcert#installation).

## Documentation

You can view the [online documentation here](https://docs.evil.kiwi/devon/).

## Usage

`devon help` lists all available commands and usage. Some useful commands to get you started are:

- `devon init` - Initialize `devon` in the current working directory. This should be the root of your monorepo.
- `devon install` - Should be ran every time a new device clones the repo. Does things like install the certificate CA, etc.
- `devon switch` - Switch which services/apps you are currently working on.
- `devon run ` - Run the given Script(s).
- `devon exec ` - Run a command inside the container for a service.

## To-do

- [ ] Add test suite