Skip to content

jcpenney/docker-node-hello-world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installing Dependencies

First, ensure that Docker is installed on your machine. As per Docker.io's Mac OS X installation instructions:

  • Download the latest release of the Docker for OS X Installer.
  • Run the installer, which will install VirtualBox and the Boot2Docker management tool.
  • Initialize Boot2Docker, then start Docker manually and export the DOCKER_HOST environment variable with the following commands:
    • boot2docker init
    • boot2docker start
    • export DOCKER_HOST=tcp://$(boot2docker ip 2>/dev/null):2375

Starting the App

To start the app, run the following command from the project's root:

. start.sh

The script will start Docker using boot2docker, stop any already-running Docker containers, start Mongo (More Info), then finally start the Node app (More info).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published