@guidecx/devenv

1.3.4 • 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 @guidecx/devenv

Weekly Downloads

3

Version

1.3.4

License

MIT

Unpacked Size

82.3 kB

Total Files

40

Last publish

Collaborators

  • walex
  • kylejw2