0.0.13 • Published 7 years ago

@ecor/workspace v0.0.13

Weekly downloads
1
License
BSD-3-Clause
Repository
github
Last release
7 years ago

workspace

npm install -g workspace

This command line utility makes container-based workflow easy. Currently, only Docker is supported. Docker must be installed on your local workstation. This is freely available for macOS and Windows.

The workspace command has a shorthand alias of ws for those who want to type less.

Create a Workspace

To create a workspace, run workspace init. This launches a wizard to walk through the basic setup.

Using a Workspace

Running a workspace is the default command for the utility, so just run workspace from the project's root directory. It will also respond to workspace start.

Building a Workspace

There are situations where a workspace needs to be rebuilt. Typically this is done directly with a docker build -t registry.mydomain.com/repo/<image> . command. However; running workspace build or workspace rebuild will do this for you.

While this may seem like a little detail, it is actually a helpful time saver. Often times, application code residing in a directory (such as /app) is mounted to a Docker image. As one navigates throughout complex project directory hierarchies, it's easy to run the build command from the wrong directory, which throws an error. Building with workspace will always use the project root as it's working directory, meaning it maintains context all the time.

Configure a Workspace

A .workspace.yml file may exist in the project root, containing metadata for the individual project.

0.0.13

7 years ago

0.0.12

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago