From 06ca3868e55049a7fd128d96cc77538a041f37fb Mon Sep 17 00:00:00 2001 From: Moghedrin Date: Wed, 31 Dec 2014 17:18:33 -0700 Subject: [PATCH] Add $(id -g) to the bootstrap example --- django/README.md | 2 +- django/content.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/django/README.md b/django/README.md index 8d1d6dc71..a51a0740e 100644 --- a/django/README.md +++ b/django/README.md @@ -57,7 +57,7 @@ having to add a `Dockerfile` to your project. If you want to generate the scaffolding for a new Django project, you can do the following: - docker run -it --rm --user "$(id -u)" -v "$(pwd)":/usr/src/app -w /usr/src/app django django-admin.py startproject mysite + docker run -it --rm --user "$(id -u):$(id -g)" -v "$(pwd)":/usr/src/app -w /usr/src/app django django-admin.py startproject mysite This will create a sub-directory named `mysite` inside your current directory. diff --git a/django/content.md b/django/content.md index 8d7329372..37685c5b8 100644 --- a/django/content.md +++ b/django/content.md @@ -44,6 +44,6 @@ having to add a `Dockerfile` to your project. If you want to generate the scaffolding for a new Django project, you can do the following: - docker run -it --rm --user "$(id -u)" -v "$(pwd)":/usr/src/app -w /usr/src/app django django-admin.py startproject mysite + docker run -it --rm --user "$(id -u):$(id -g)" -v "$(pwd)":/usr/src/app -w /usr/src/app django django-admin.py startproject mysite This will create a sub-directory named `mysite` inside your current directory.