@jeffdimond/devenv

1.0.2 • Public • Published

devenv

Developer local environment utility.

Used for containerization both during development and in production. This command-line utility assists in setting up isolated local dev environments, optionally using docker-compose to coordinate and isolate project-specific groups of containers.

Pre-Requisites

  • NodeJS LTS
  • Docker
  • Git Bash (if Windows)

Getting Started

Run Git Bash as an administrator (if Windows)

npm install
npm run build
npm run test

Use

# bring up the local environement
npm run devup
# bring down the local environement
npm run devdown

Release New NPM Module

On master branch

npm version patch

Windows

MongoDB images are not compatible with windows when volume sharing as described here:
https://stackoverflow.com/questions/42892993/windows-docker-mongo-container-doesnt-work-with-volume-mount
Because of this limitation the volumes setting is commented out in the docker-compose.yaml, uncomment in order to enable this (for non-windows users). There is a possible work around would could consider trying in the future of binding to a docker volume instance.

Readme

Keywords

none

Package Sidebar

Install

npm i @jeffdimond/devenv

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

58.7 kB

Total Files

31

Last publish

Collaborators

  • jeffdimond