Skip to content

Commit 89e26e9

Browse files
committed
change readme
1 parent d6c7468 commit 89e26e9

1 file changed

Lines changed: 4 additions & 27 deletions

File tree

README.md

Lines changed: 4 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -4,35 +4,12 @@
44

55
2. Install docker (https://docs.docker.com/engine/installation/) and docker compose (https://docs.docker.com/compose/install/)
66

7-
3. Download Drupal 8 to "src" folder.
8-
9-
4. Create "settings.php" file in "sites/default" folder.
7+
3. Run in console "docker-compose up -d --build && sh run.sh".
108

11-
5. Add to "settings.php" file next variables:
9+
Site will available on host: http://localhost:8999
1210

13-
$databases['default']['default'] = array (
14-
'database' => 'drupal',
15-
'username' => 'drupal',
16-
'password' => 'drupal',
17-
'prefix' => '',
18-
'host' => 'mariadb',
19-
'port' => '3306',
20-
'namespace' => 'Drupal\\Core\\Database\\Driver\\mysql',
21-
'driver' => 'mysql',
22-
);
11+
Phpmyadmin available on host: http://localhost:8001
2312

24-
$settings['hash_salt'] = '0X5gqLNw3k5sNnC3GfO5yxaHAJPfsON4hCItAcPj_W3zTFP7icFphZE_-qq__vFl5-i8s32KXA';
25-
26-
6. Create folder "sites/default/files"
27-
28-
7. Go to "docker" folder in console ("cd docker/").
29-
30-
8. Run in console "docker-compose up".
31-
32-
9. Site will available on host: http://localhost:8999
33-
34-
10. Phpmyadmin available on host: http://localhost:8001
35-
36-
11. Access to admin side - admin:admin
13+
Access to admin side - admin:admin
3714

3815
More info about docker images - https://github.com/wodby/docker4drupal

0 commit comments

Comments
 (0)