File tree Expand file tree Collapse file tree 9 files changed +20
-28
lines changed Expand file tree Collapse file tree 9 files changed +20
-28
lines changed Original file line number Diff line number Diff line change @@ -30,16 +30,8 @@ __2) Start Docker__
30
30
__ 3) Create new or add existing Magento project__
31
31
32
32
- Create new project
33
- - Store composer credentials to repo.magento.com in project repository
34
- - ``` sh bin/auth <public key> <private key>```
35
- - Creates auth.json
33
+ - ```sh bin/new-project.sh```
36
34
- Keys can be found in https://marketplace.magento.com/customer/accessKeys/
37
- - This will generate new gitignored auth.json file with credentials to repo.magento.com
38
- - For auth.json file to work, the composer.json (already added) is needed in project root
39
-
40
- - Generate project files
41
- - ```sh bin/new-project.sh```
42
- - This step requires you to have php 7 and composer installed on your host machine
43
35
44
36
- Add existing project
45
37
- Paste your existing Magento project to magento folder
Original file line number Diff line number Diff line change
1
+ { "http-basic" : { "repo.magento.com" : { "username" : " ec69d64512a555cb68354c9cfbe93b95" , "password" : " 8eb444860ec984281ddb6b46ec6e9983" } } }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ export USER_ID=$( id -u)
4
+ export GROUP_ID=$( id -u)
5
+
6
+ docker-compose run --rm --workdir /magento php-fpm composer $@
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
1
3
docker-compose exec -T php-fpm /magento/bin/magento setup:install \
2
4
--base-url=http://magento.local \
3
5
--db-host=mysql \
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
1
3
rm magento/.placeholder
2
- composer create-project --ignore-platform-reqs --repository-url=https://repo.magento.com/ magento/project-community-edition=2.4.2-p1 magento
4
+
5
+ sh bin/composer.sh create-project --ignore-platform-reqs --repository-url=https://repo.magento.com/ magento/project-community-edition=2.4.2-p1 .
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
1
3
docker-compose down
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -28,13 +28,16 @@ RUN docker-php-ext-install xsl
28
28
RUN docker-php-ext-install zip
29
29
RUN docker-php-ext-install sockets
30
30
31
- # xdebug
31
+ # Xdebug
32
32
RUN apk add --no-cache $PHPIZE_DEPS \
33
33
&& pecl install xdebug-3.0.4 \
34
34
&& docker-php-ext-enable xdebug
35
35
36
36
COPY ./docker/php-fpm/php.ini /usr/local/etc/php/php.ini
37
37
38
+ # Composer
39
+ RUN apk add composer
40
+
38
41
ARG GROUP_ID
39
42
ARG USER_ID
40
43
You can’t perform that action at this time.
0 commit comments