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
Copy file name to clipboardExpand all lines: README.md
+11-7Lines changed: 11 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,16 @@
1
1
# How to use
2
2
3
-
1.Clone this repo.
3
+
1.Install docker (https://docs.docker.com/engine/installation/) and docker compose (https://docs.docker.com/compose/install/);
4
4
5
-
2.Install docker (https://docs.docker.com/engine/installation/) and docker compose (https://docs.docker.com/compose/install/)
5
+
2.Clone this repo;
6
6
7
-
3. Run in console "docker-compose up -d".
7
+
From the repo root run in console
8
8
9
-
4. chmod +x run.sh
9
+
3.`$ chmod +x run.sh`;
10
+
11
+
4.`$ ./run.sh`;
12
+
13
+
5.`$ docker-compose up -d` (if you mac user see "Mac Users" sections).
10
14
11
15
## Links:
12
16
Site will available on host: http://panels_d8.docker.localhost:8877 or http://localhost:2877
@@ -16,9 +20,9 @@ Phpmyadmin available on host: http://pma.panels_d8.docker.localhost:8877 or htt
16
20
Access to admin side - `admin`:`admin`
17
21
18
22
## Container access examples:
19
-
`$ docker-compose exec php drush cr`
20
-
`$ docker-compose exec php bash`
21
-
`$ docker-compose exec php drush en ctools -y`
23
+
* Clear site cache: `$ docker-compose exec php drush cr`
24
+
* Enter the command line: `$ docker-compose exec php bash`
25
+
* Download and enable module ctools: `$ docker-compose exec php drush en ctools -y`
22
26
23
27
## Mac Users
24
28
To fix Docker poor performance on macOS use the following workaround based on docker-sync project. The core idea is to replace a standard slow volume with a file synchronizer tool.
0 commit comments