1.3.4 • Published 6 months ago

@guidecx/devenv v1.3.4

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

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.