From 4af6990b07997ed65551835e65ac2a2358a3f2ba Mon Sep 17 00:00:00 2001 From: Cassie Tarakajian Date: Mon, 6 Nov 2017 16:56:07 -0500 Subject: [PATCH] add node-sass rebuild to Dockerfile, update README with Docker disk space usage --- Dockerfile | 3 +++ README.md | 9 ++++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 71fa6341..81f08726 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,6 +11,9 @@ WORKDIR $APP_HOME RUN git submodule init && \ npm install +# Rebuild node-sass just to be safe +RUN npm rebuild node-sass + # For development, mark the directory as a mount override point VOLUME $APP_HOME diff --git a/README.md b/README.md index ac42eb82..07ec9e44 100644 --- a/README.md +++ b/README.md @@ -38,12 +38,11 @@ Please refer to [this gist](https://gist.github.com/andrewn/953ffd5cb17ac2634dc9 The automatic redirection to HTTPS is turned off by default in development. If you need to test this behavior, put `FORCE_TO_HTTPS=true` in your `.env` file. -## Development Installation (using Docker) +## Development Installation using Docker -Using Docker, you can have a complete, consistent development environment -without having to manually install dependencies such as Node, Mongo, etc. It -also helps isolate these dependencies and their data from other projects that -you may have on the same computer that use different/conflicting versions, etc. +Using Docker, you can have a complete, consistent development environment without having to manually install dependencies such as Node, Mongo, etc. It also helps isolate these dependencies and their data from other projects that you may have on the same computer that use different/conflicting versions, etc. + +Note that this takes up a significant amount of space on your machine. Make sure you have at least 5GB free. 1. Install Docker for your operating system * Mac: https://www.docker.com/docker-mac