You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During the first start of the project **docker-compose** will
28
+
29
+
1. first **build** all docker-images referenced in the [docker-compose.yml](docker-compose.yml)
30
+
2. then **start** the containers
31
+
3. and **trigger the installer** which will
32
+
- [install magento](docker-images/installer/bin/install.sh) and all modules that are referenced in the [composer.json](composer.json) using `composer` into the web folder
33
+
- download the [Magento Demo Store Sample Data](http://www.magentocommerce.com/knowledge-base/entry/installing-the-sample-data-for-magento)
34
+
- copy the files to the magento-root
35
+
- import the sample database
36
+
- and finally reindex all indices
37
+
38
+
Once the installation is fininished the installer will print the URL and the credentials for the backend to the installer log:
39
+
40
+
```
41
+
...
42
+
installer_1 | Frontend: http://127.0.0.1/
43
+
installer_1 | Backend: http://127.0.0.1/admin
44
+
installer_1 | - Username: admin
45
+
installer_1 | - Password: password123
46
+
```
47
+
48
+
[](https://s3.amazonaws.com/andreaskoch/dockerized-magento/installation/Dockerized-Magento-Installation-Linux-no-sound.mp4)
49
+
50
+
**Note**: The build process and the installation process will take a while if you start the project for the first time. After thats finished starting and stoping the project will be a matter of seconds.
13
51
14
52
## Usage
15
53
54
+
You can control the project using the built-in `magento`-script which is basically just a **wrapper for docker and docker-compose** that offers some **convenience features**:
55
+
16
56
```bash
17
57
./magento <action>
18
58
```
19
59
20
-
**Actons**
60
+
**Available Actons**
21
61
22
62
-**start**: Starts the docker containers (and triggers the installation if magento is not yet installed)
0 commit comments