Skip to content

Commit cf69fb7

Browse files
committed
Update docs again! )
1 parent b0222ec commit cf69fb7

1 file changed

Lines changed: 11 additions & 7 deletions

File tree

README.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
# How to use
22

3-
1. Clone this repo.
3+
1. Install docker (https://docs.docker.com/engine/installation/) and docker compose (https://docs.docker.com/compose/install/);
44

5-
2. Install docker (https://docs.docker.com/engine/installation/) and docker compose (https://docs.docker.com/compose/install/)
5+
2. Clone this repo;
66

7-
3. Run in console "docker-compose up -d".
7+
From the repo root run in console
88

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).
1014

1115
## Links:
1216
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
1620
Access to admin side - `admin`:`admin`
1721

1822
## 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`
2226

2327
## Mac Users
2428
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

Comments
 (0)