From ce5f890cecdacf4d4472e9263eba35adb8e925e2 Mon Sep 17 00:00:00 2001 From: Brian Broll Date: Wed, 9 Aug 2017 11:41:46 +1000 Subject: [PATCH] Added dependencies to compose file. Fixes #1031 (#1032) * WIP #1031 added container dependency info * WIP #1031 updated quickstart --- README.md | 12 ++++-------- docker-compose.yml | 4 ++++ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index cfae6c7..c4ac8cf 100644 --- a/README.md +++ b/README.md @@ -21,17 +21,13 @@ Additional features include: - Facilitates defining custom layers ## Quick Start -Deepforge requires NodeJS v6 (we recommend installing NodeJS using [nvm](https://github.com/creationix/nvm)). After installing NodeJS using nvm, simply run - +The easiest way to start deepforge is using [docker-compose](https://docs.docker.com/compose/). Using docker-compose, deepforge can be started with ``` -npm install -g deepforge +wget https://raw.githubusercontent.com/deepforge-dev/deepforge/master/docker-compose.yml +docker-compose up ``` -Finally, start deepforge with `deepforge start`and navigate to [http://localhost:8888](http://localhost:8888) to start using DeepForge! For more, detailed instructions, check out the [wiki](https://github.com/dfst/deepforge/wiki/Installation-Guide). - -**Note**: running deepforge w/ `deepforge start` will also require [MongoDB](https://www.mongodb.com/download-center?jmp=nav#community) to be installed locally. - -Also, be sure to check out the other available features of the `deepforge` cli; it can be used to update, manage your torch installation, uninstall deepforge and run individual components! +Finally, navigate to [http://localhost:8888](http://localhost:8888) to start using DeepForge! For more detailed instructions and other installation options, check out the [docs](http://deepforge.readthedocs.io/en/latest/deployment/overview.html). ## Additional Resources - [Intro to DeepForge Slides](https://docs.google.com/presentation/d/10_y5O3gHXSATfjHVLJg7dOdrz-tAXNWjlxhJ5SlA0ic/edit?usp=sharing) diff --git a/docker-compose.yml b/docker-compose.yml index dc7a53a..62fd604 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,7 +12,11 @@ services: - "8888:8888" volumes: - "$HOME/.deepforge/blob:/data/blob" + depends_on: + - mongo worker: command: "http://server:8888" image: deepforge/worker + depends_on: + - server version: "2"