@@ -155,18 +155,6 @@ If you have an existing project with all the source code already under
155
155
mounting, the code will automatically be visible; if you use Unison, it will
156
156
copy files on your laptop into the web container when Unison is started.
157
157
158
- Note: This case includes if you decide to change the settings in
159
- ` docker-composer.yml ` after the containers have been created. You will need to
160
- remove the current containers and recreate them (including the database
161
- contents). MAKE SURE THE SOURCE CODE IS UP TO DATE UNDER THE ` shared/www `
162
- DIRECTORY BEFORE DELETING THE CONTAINERS TO MAKE SURE YOU DO NOT ACCIDENTALLY
163
- LOSE ANY OF YOUR WORK.
164
-
165
- docker-compose kill
166
- docker-compose rm
167
- # Make changes to docker-compose.yml
168
- docker-compose up -d
169
-
170
158
** Creating a New Project with Composer**
171
159
172
160
Log into the web container.
@@ -176,9 +164,7 @@ Log into the web container.
176
164
Create a new project under ` /var/www/magento2 ` . (Update the project version
177
165
number as appropriate.)
178
166
179
- cd /var/www
180
- mkdir magento2
181
- cd magento2
167
+ cd /var/www/magento2
182
168
composer create-project --repository=https://repo.magento.com/ magento/project-community-edition:2.1.8 .
183
169
chmod +x bin/magento
184
170
@@ -393,6 +379,17 @@ remove the locally synchronized files under the `shared` directory.
393
379
docker-compose kill
394
380
docker-compose rm
395
381
382
+ If you decide to change the settings in ` docker-composer.yml ` after the
383
+ containers have been created, you will need to remove the current containers
384
+ and recreate them (including the database contents). MAKE SURE THE SOURCE CODE
385
+ IS UP TO DATE UNDER THE ` shared/www ` DIRECTORY BEFORE DELETING THE CONTAINERS
386
+ TO MAKE SURE YOU DO NOT ACCIDENTALLY LOSE ANY OF YOUR WORK.
387
+
388
+ docker-compose kill
389
+ docker-compose rm
390
+ # Make changes to docker-compose.yml
391
+ docker-compose up -d
392
+
396
393
## Kitematic
397
394
398
395
If you like GUIs, you may wish to install Kitematic from the Docker site as
0 commit comments