From 00f4c1a7dbd3698eaf2fdd1f8126c3b3525ca4be Mon Sep 17 00:00:00 2001 From: Pan Luo Date: Tue, 23 Aug 2016 13:21:09 -0700 Subject: [PATCH] Add docker instructions to readme --- readme.md | 35 +++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/readme.md b/readme.md index 225cc2a01..403b46ab3 100644 --- a/readme.md +++ b/readme.md @@ -1,20 +1,23 @@ -Running on PagodaBox +Running with Docker --------------------------- -1. Create a PagodaBox account at https://dashboard.pagodabox.com/account/register. -2. On the PagodaBox dashboard, click on "New Application". -3. Select "Clone an Existing Repo". -4. Give the application a unique name. -5. Paste the url below as your "Clone URL". - https://github.com/ubc/iPeer.git -6. Click "Launch Application". Wait for the installation to complete. -7. When you see the links "View Live App" and "Manage Your App" the installation process is complete. Click "Manage Your App". -8. Click on "View Live App" (right hand side of the dashboard). -9. Complete the iPeer installation process. Click Next. -10. Agree to the License Agreement and click Next. -11. Select Basic Installation. Click Next. -12. Create your account under "Super Admin Configuration". -13. Select your timezone (Region/City). Click Next. -14. Go to name.gopagoda.com. Login with the "Super Admin" account you have just created. +### Prerequisites +* Internet connection +* [Docker engine](https://docs.docker.com/engine/installation/) and [docker-compose](https://docs.docker.com/compose/install/) installed + +### Running + +#### Pulling images +Note: if you are planning to do development, you can skip this step. +``` +docker pull ubcctlt/ipeer-app +docker pull ubcctlt/ipeer-web +``` + +#### Running iPeer + +``` +docker-compose up -d +``` Running Virtual Development Server ---------------------------