diff --git a/docs/content/en/starting-from-scratch/nodejs.md b/docs/content/en/starting-from-scratch/nodejs.md index 7a5fdf0a..7f8b9b26 100644 --- a/docs/content/en/starting-from-scratch/nodejs.md +++ b/docs/content/en/starting-from-scratch/nodejs.md @@ -14,6 +14,12 @@ $ azk shell --image azukiapp/node --shell /bin/bash # exit ``` +> Note: If you're on Linux, you have to fix the ownership of the resulting folder. This is because the container run as root user, so that all created files and folder own to the root user. To do this fix, just run: + +```sh +$ sudo chown -R `id -un`:`id -gn` . +``` + ### Creating the Azkfile.js ```sh diff --git a/docs/content/en/starting-from-scratch/php-cakephp.md b/docs/content/en/starting-from-scratch/php-cakephp.md index 985d6750..57dbfa1e 100644 --- a/docs/content/en/starting-from-scratch/php-cakephp.md +++ b/docs/content/en/starting-from-scratch/php-cakephp.md @@ -4,10 +4,16 @@ ```sh $ azk shell --image azukiapp/php-fpm --shell /bin/bash -# composer create-project cakephp/app my-cake-php --prefer-dist +# composer create-project cakephp/app --prefer-dist # exit ``` +> Note: If you're on Linux, you have to fix the ownership of the resulting folder. This is because the container run as root user, so that all created files and folder own to the root user. To do this fix, just run: + +```sh +$ sudo chown -R `id -un`:`id -gn` +``` + ### Creating the Azkfile.js ```sh diff --git a/docs/content/en/starting-from-scratch/php-laravel.md b/docs/content/en/starting-from-scratch/php-laravel.md index 43fd7bf6..e27b31d2 100644 --- a/docs/content/en/starting-from-scratch/php-laravel.md +++ b/docs/content/en/starting-from-scratch/php-laravel.md @@ -4,10 +4,16 @@ ```sh $ azk shell --image azukiapp/php-fpm --shell /bin/bash -# composer create-project laravel/laravel my-app --prefer-dist +# composer create-project laravel/laravel --prefer-dist # exit ``` +> Note: If you're on Linux, you have to fix the ownership of the resulting folder. This is because the container run as root user, so that all created files and folder own to the root user. To do this fix, just run: + +```sh +$ sudo chown -R `id -un`:`id -gn` +``` + ### Creating the Azkfile.js ```sh diff --git a/docs/content/en/starting-from-scratch/python-django.md b/docs/content/en/starting-from-scratch/python-django.md index ae5b2ba4..26956f5b 100644 --- a/docs/content/en/starting-from-scratch/python-django.md +++ b/docs/content/en/starting-from-scratch/python-django.md @@ -9,6 +9,12 @@ $ azk shell --image azukiapp/python --shell /bin/bash # exit ``` +> Note: If you're on Linux, you have to fix the ownership of the resulting folder. This is because the container run as root user, so that all created files and folder own to the root user. To do this fix, just run: + +```sh +$ sudo chown -R `id -un`:`id -gn` +``` + ### Creating the Azkfile.js ```sh diff --git a/docs/content/en/starting-from-scratch/ruby-rails.md b/docs/content/en/starting-from-scratch/ruby-rails.md index 0a4ef6b5..ecec8c86 100644 --- a/docs/content/en/starting-from-scratch/ruby-rails.md +++ b/docs/content/en/starting-from-scratch/ruby-rails.md @@ -9,6 +9,12 @@ $ azk shell --image azukiapp/ruby --shell /bin/bash # exit ``` +> Note: If you're on Linux, you have to fix the ownership of the resulting folder. This is because the container run as root user, so that all created files and folder own to the root user. To do this fix, just run: + +```sh +$ sudo chown -R `id -un`:`id -gn` +``` + ### Creating the Azkfile.js ```sh diff --git a/docs/content/pt-BR/starting-from-scratch/nodejs.md b/docs/content/pt-BR/starting-from-scratch/nodejs.md index e052628c..49524632 100644 --- a/docs/content/pt-BR/starting-from-scratch/nodejs.md +++ b/docs/content/pt-BR/starting-from-scratch/nodejs.md @@ -14,6 +14,12 @@ $ azk shell --image azukiapp/node --shell /bin/bash # exit ``` +> Nota: Se você estiver usando Linux, você terá que transferir a propriedade da pasta gerada para seu usuário. Isso acontece pois o container é executado como usuário root, portanto todos os arquivos e pastas gerados dentro do container pertencem ao usuário root. Para fazer esta correção, basta executar: + +```sh +$ sudo chown -R `id -un`:`id -gn` . +``` + ### Gerando o Azkfile.js ```sh diff --git a/docs/content/pt-BR/starting-from-scratch/php-cakephp.md b/docs/content/pt-BR/starting-from-scratch/php-cakephp.md index 57ce19d8..00864c44 100644 --- a/docs/content/pt-BR/starting-from-scratch/php-cakephp.md +++ b/docs/content/pt-BR/starting-from-scratch/php-cakephp.md @@ -4,10 +4,16 @@ ```sh $ azk shell --image azukiapp/php-fpm --shell /bin/bash -# composer create-project cakephp/app my-app --prefer-dist +# composer create-project cakephp/app --prefer-dist # exit ``` +> Nota: Se você estiver usando Linux, você terá que transferir a propriedade da pasta gerada para seu usuário. Isso acontece pois o container é executado como usuário root, portanto todos os arquivos e pastas gerados dentro do container pertencem ao usuário root. Para fazer esta correção, basta executar: + +```sh +$ sudo chown -R `id -un`:`id -gn` +``` + ### Gerando o Azkfile.js ```sh diff --git a/docs/content/pt-BR/starting-from-scratch/php-laravel.md b/docs/content/pt-BR/starting-from-scratch/php-laravel.md index 03825aad..b8e5222f 100644 --- a/docs/content/pt-BR/starting-from-scratch/php-laravel.md +++ b/docs/content/pt-BR/starting-from-scratch/php-laravel.md @@ -4,10 +4,17 @@ ```sh $ azk shell --image azukiapp/php-fpm --shell /bin/bash -# composer create-project laravel/laravel my-app --prefer-dist +# composer create-project laravel/laravel --prefer-dist # exit ``` +> Nota: Se você estiver usando Linux, você terá que transferir a propriedade da pasta gerada para seu usuário. Isso acontece pois o container é executado como usuário root, portanto todos os arquivos e pastas gerados dentro do container pertencem ao usuário root. Para fazer esta correção, basta executar: + +```sh +$ sudo chown -R `id -un`:`id -gn` +``` + + ### Gerando o Azkfile.js ```sh diff --git a/docs/content/pt-BR/starting-from-scratch/python-django.md b/docs/content/pt-BR/starting-from-scratch/python-django.md index 58f1a351..d7fcf877 100644 --- a/docs/content/pt-BR/starting-from-scratch/python-django.md +++ b/docs/content/pt-BR/starting-from-scratch/python-django.md @@ -9,6 +9,12 @@ $ azk shell --image azukiapp/python --shell /bin/bash # exit ``` +> Nota: Se você estiver usando Linux, você terá que transferir a propriedade da pasta gerada para seu usuário. Isso acontece pois o container é executado como usuário root, portanto todos os arquivos e pastas gerados dentro do container pertencem ao usuário root. Para fazer esta correção, basta executar: + +```sh +$ sudo chown -R `id -un`:`id -gn` +``` + ### Gerando o Azkfile.js ```sh diff --git a/docs/content/pt-BR/starting-from-scratch/ruby-rails.md b/docs/content/pt-BR/starting-from-scratch/ruby-rails.md index 4d2398e5..51dee309 100644 --- a/docs/content/pt-BR/starting-from-scratch/ruby-rails.md +++ b/docs/content/pt-BR/starting-from-scratch/ruby-rails.md @@ -9,6 +9,12 @@ $ azk shell --image azukiapp/ruby --shell /bin/bash # exit ``` +> Nota: Se você estiver usando Linux, você terá que transferir a propriedade da pasta gerada para seu usuário. Isso acontece pois o container é executado como usuário root, portanto todos os arquivos e pastas gerados dentro do container pertencem ao usuário root. Para fazer esta correção, basta executar: + +```sh +$ sudo chown -R `id -un`:`id -gn` +``` + ### Gerando o Azkfile.js ```sh