Skip to content

Docker container for Javascript Development with ZSH, Nodejs, Angular-cli, Bower, Grunt, Gulp and Yeoman

License

Notifications You must be signed in to change notification settings

Stayfi/zsh-nodejs

Repository files navigation

ZSH-NodeJS

Node-Development container.

This Node-Development environment is a ZSH shell with Yeoman, Bower, Gulp, Grunt-cli, Angular-cli.

Ports exposed:

  • 8000 : for Node server

Installation

ZSH-NodeJS require docker.

First, run your docker terminal.

Then you will need to clone this repo :

$ git clone [email protected]:stayfi/zsh-nodejs.git
$ cd zsh-nodejs

You have to add shared folders to your docker virtual machine, in Oracle VM Virtual Box :

  • shared vm name "www" -> To your "www" root

You have to add the "bootlocal.sh" file to your virtual machine in this folder "/var/lib/boot2docker/" :

$ docker-machine ssh default
* "(assuming 'default' is your docker virtual machine name)"
$ sudo vi /var/lib/boot2docker/bootlocal.sh
* "paste those lines into this new file:"
mkdir -p /home/docker/zsh-nodejs/www
mount -t vboxsf www /home/docker/zsh-nodejs/www

$ sudo chmod +x /var/lib/boot2docker/bootlocal.sh

Restart your docker machine (assuming "default" is your docker virtual machine name):

$ docker-machine restart default

Build zsh-nodejs container :

$ docker build -t stayfi/zsh-nodejs zsh-nodejs

Usage

Run zsh-nodejs by :

$ docker run -ti -p 8000:8000 -v /home/docker/zsh-nodejs/www:/var/www stayfi/zsh-nodejs /bin/zsh

You will have your zsh prompt.

Yeoman

$ yo --version

Angular cli

$ ng --version

Bower

$ bower --version

Gulp

$ gulp --version

Grunt cli

$ grunt --version

Credits

Stayfi B. - [email protected]

Versions

(Major.Minor[.Fix])

1.0

First version, working.

License

MIT license

About

Docker container for Javascript Development with ZSH, Nodejs, Angular-cli, Bower, Grunt, Gulp and Yeoman

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages