From 9039ddd761ea37124a548ff89a828191d33ee86b Mon Sep 17 00:00:00 2001 From: Szymon Nowak Date: Fri, 24 Jan 2014 11:22:00 +0100 Subject: [PATCH] Update README.md --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8657181..39e5573 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,18 @@ -filedrop +FileDrop ======== + +It uses PeerJS server at http://file-drop-peer-server.herokuapp.com. + +## Setup +1. Run `npm install` to install dependencies. +2. Install [foreman](https://github.com/ddollar/foreman) using `gem install foreman`, unless you already have it installed. +3. Create `.env` file and set the following environment variables there: + + ``` + HOST=localhost + PORT=8000 + WEB_PORT=8000 + SECRET=some-random-string + ``` + +4. Run `foreman start` to start the server on `localhost:8000`.