2015-01-26 17:52:52 +01:00
|
|
|
# docker-mean-dev
|
2015-01-27 03:54:44 +01:00
|
|
|
|
2015-01-26 17:52:52 +01:00
|
|
|
A docker container for developing mean stack applications
|
2015-01-27 03:06:38 +01:00
|
|
|
|
2015-02-15 22:17:28 +01:00
|
|
|
Usage
|
2015-01-27 03:53:18 +01:00
|
|
|
======
|
2015-01-27 03:06:38 +01:00
|
|
|
|
2015-02-15 22:17:28 +01:00
|
|
|
Build the container with `docker build -t 'tag name' .`. Install the `mean` and `start-mongodb` to `~/bin` or some other location in the path.
|
2015-02-10 07:10:53 +01:00
|
|
|
|
2015-02-15 22:17:28 +01:00
|
|
|
To run commands from the container, use `mean <command>`. For example, to install a new npm package globally:
|
2015-02-15 22:20:48 +01:00
|
|
|
|
2015-02-15 22:17:28 +01:00
|
|
|
mean npm install -g generator-polymer
|
2015-01-27 03:06:38 +01:00
|
|
|
|
2015-02-15 22:17:28 +01:00
|
|
|
Or to create a yeoman scaffolding in the current folder:
|
2015-02-15 22:20:48 +01:00
|
|
|
|
2015-02-15 22:17:28 +01:00
|
|
|
mean yo polymer
|
|
|
|
|
|
|
|
Some default npm and gem packages are specified in `default-packages.sh`. They can be installed with:
|
2015-02-15 22:20:48 +01:00
|
|
|
|
2015-02-15 22:17:28 +01:00
|
|
|
mean bash default-packages.sh
|
2015-01-27 03:06:38 +01:00
|
|
|
|